[buddypress-trac] [BuddyPress Trac] #6008: Remove HTML from post_title for groups

buddypress-trac noreply at wordpress.org
Wed Dec 31 13:57:39 UTC 2014


#6008: Remove HTML from post_title for groups
-------------------------------+------------------
 Reporter:  alexander.rohmann  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  high               |   Milestone:  2.2
Component:  Groups             |     Version:  2.1
 Severity:  major              |  Resolution:
 Keywords:  needs-patch        |
-------------------------------+------------------

Comment (by imath):

 In [changeset:"9291"]:
 {{{
 #!CommitTicketReference repository="" revision="9291"
 Move the Blogs and Groups create links into their directory main navs

 Since r9157, we have removed the create links of these two components from
 the title of their WordPress post object.
 For version 2.2, we've decided to move them into their directory main
 navs. As a result, each component navigation will now display 3 links for
 the logged in user :
 - All Groups / My Groups / Create a Group
 - All Sites / My Sites / Create a Site

 We are aware, this might not be the best positioning for every users, so
 we are also introducing two new filters to help these users to neutralize
 it and choose their prefered positioning.
 - {{{'bp_get_group_create_nav_item'}}}
 - {{{'bp_get_blog_create_nav_item'}}}

 Neutralizing the positioning can be achieve by simply returning false to
 these filters, here's an example for the Groups component create link.
 {{{add_filter( 'bp_get_group_create_nav_item', '__return_false' );}}}

 See #6008 / #4638

 Props hnla, johnjamesjacoby, DJPaul, boonebgorges, modemlooper, imath
 }}}

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


More information about the buddypress-trac mailing list