[buddypress-trac] [BuddyPress Trac] #5721: Members directory displaying on more than one page.

buddypress-trac noreply at wordpress.org
Thu Jun 19 10:14:47 UTC 2014


#5721: Members directory displaying on more than one page.
--------------------------+-----------------------------
 Reporter:  xhan          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  2.0
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 '''Steps to reproduce:'''
 Create page template, name the file ''page-membership-application.php''

 Any page using this template will load the membership directory.

 '''Cause:'''
 ''bp-core-template.php'' is searching for the word 'members' assumes users
 wont have other page templates with the word members in it.

 line 1114

 {{{
 if ( !empty( $page_template ) && strstr( strtolower( $page_template ),
 strtolower( $component ) ) ) {
 }}}

 I've not tested this too thoroughly as I haven't had time so for now I've
 just renamed my template ''page-mem-application.php''

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5721>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list