XenForo 2.2.8 undocumented backwards compatibility break for REST API

J

Jake B.

Guest
Member
XenForo 2.2.8 adds a new empty \XF\Api\Templater class, which directly extends the base \XF\Template\Templater class. If you have any class extensions on \XF\Template\Templater that you expect to apply within the REST API you'll have to duplicate them, or split out your custom parts into a trait that gets included on both and call that trait's function from within your extended methods.

Continue reading...

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    S @ sill: hi
    Top