[buddypress-trac] [BuddyPress Trac] #6190: Custom page template needs to be validated before using it in template stack

buddypress-trac noreply at wordpress.org
Sun Feb 8 04:02:33 UTC 2015


#6190: Custom page template needs to be validated before using it in template
stack
----------------------------------------+--------------------
 Reporter:  r-a-y                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  2.2.1
Component:  Appearance - Template Pack  |     Version:  2.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch                   |
----------------------------------------+--------------------

Comment (by johnjamesjacoby):

 This doesn't seem like it's necessary, or else the `array_unshift()` bit
 or the `bp_get_buddypress_template` filter are not working correctly.

 If the page-template doesn't exist, BuddyPress's theme compatibility
 should continue on down the stack until a `file_exists()` finds a file in
 the `bp_get_buddypress_template` filter stack, which comes from
 `bp_get_theme_compat_templates()`.

 Did none of those files exist, or was that function or filter unhooked or
 overridden?

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


More information about the buddypress-trac mailing list