[buddypress-trac] [BuddyPress] #3512: Problem with 3rd-party root components & bp_modify_page_title()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Aug 25 03:01:46 UTC 2011


#3512: Problem with 3rd-party root components & bp_modify_page_title()
--------------------+-----------------------------
 Reporter:  r-a-y   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:  Awaiting Review
Component:  Core    |    Version:  1.5
 Severity:  normal  |   Keywords:  has-patch
--------------------+-----------------------------
 If we're on a 3rd-party root component and we're on a single item,
 bp_modify_page_title() currently looks at:

 `$bp->bp_options_nav[$bp->current_component][$bp->current_action]['name']`

 It should change to:

 `$bp->bp_options_nav[$bp->current_item][$bp->current_action]['name']`

 Encounted this when I was updating Achievements.

 ---

 I've also changed the title order to be a bit more SEO-friendly for 3rd-
 party plugins.

 Order is now:

 `component item name | component nav section name | root component name`

 instead of:

 `root component name | component item name | component nav section name`

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


More information about the buddypress-trac mailing list