[buddypress-trac] [BuddyPress Trac] #5671: Unable to register class method as template stack location

buddypress-trac noreply at wordpress.org
Sat May 31 16:20:31 UTC 2014


#5671: Unable to register class method as template stack location
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  johnjamesjacoby
     Type:  defect (bug)     |      Status:  closed
 Priority:  high             |   Milestone:  2.1
Component:  Template Pack    |     Version:  1.7
 Severity:  major            |  Resolution:  fixed
 Keywords:  commit           |
-----------------------------+------------------------------
Changes (by johnjamesjacoby):

 * owner:   => johnjamesjacoby
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8461"]:
 {{{
 #!CommitTicketReference repository="" revision="8461"
 In `bp_register_template_stack()` wrap `function_exists()` check with
 `is_array()` check. Allows class methods to be used as a callback for
 adding new template stack locations. Fixes #5671.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5671#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list