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

buddypress-trac noreply at wordpress.org
Sat May 31 21:50:50 UTC 2014


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Best is probably to use `is_callable()`. Then indiscriminate arrays won't
 be allowed through, and you only have to do a single check for all PHP
 callable types.

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


More information about the buddypress-trac mailing list