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

buddypress-trac noreply at wordpress.org
Sun Jun 1 00:41:40 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           |
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 Replying to [comment:3 boonebgorges]:
 > 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.
 Duh. Thanks for this. Much nicer.

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


More information about the buddypress-trac mailing list