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

buddypress-trac noreply at wordpress.org
Fri Nov 14 14:11:30 UTC 2014


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

Comment (by boonebgorges):

 > Using the filter you shared in your comment would result in having all
 titles of an eventual recent posts widgets set to 'Groups Directory' when
 on the groups directory page. If the post type was specific to the groups
 directory you could check it but it's a 'page' post type so even if you do
 a check on the page post type from your filter a "wp_list_page" widget
 would have all its title set to 'Groups Directory'.

 Sorry, I was writing this off the top of my head. It looks like
 'the_title' also receives the post id. We could use that for a reliable
 check (against the value in bp_pages).

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


More information about the buddypress-trac mailing list