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

buddypress-trac noreply at wordpress.org
Thu Dec 11 13:16:06 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:  has-patch          |
-------------------------------+------------------
Changes (by imath):

 * keywords:   => has-patch


Comment:

 As discussed yesterday in dev-chat, and unless someone else has a better
 idea before the end of 2.2 dev-cycle, 6008.03.patch is moving the create
 links into the Groups / Blogs Directory item navs (at the last position).
 (as illustrated in the screenshot added to
 [https://buddypress.trac.wordpress.org/ticket/6008#comment:27 comment
 27]).

 to follow boonebgorges's recommandation:
 > It would probably be better to make sure that
 bp_legacy_theme_group_create_button() etc continue to echo the same value
 as before. Changing the echoed value so that it's wrapped in an <li> will
 wreak havoc for others using the button. Maybe a different function name
 altogether?

 I've left unchanged the {{{bp_legacy_theme_[group/blog]_create_button()}}}
 and created new ones for the nav items.

 It's possible to avoid the "create nav items" display using :
 {{{
 add_filter( 'bp_get_group_create_nav_item', '__return_false' );
 add_filter( 'bp_get_blog_create_nav_item', '__return_false' );
 }}}

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


More information about the buddypress-trac mailing list