[buddypress-trac] [BuddyPress Trac] #4726: Bad titles on directories pages (issue in bp_get_name_from_root_slug)

buddypress-trac noreply at wordpress.org
Sun Mar 9 14:38:25 UTC 2014


#4726: Bad titles on directories pages (issue in bp_get_name_from_root_slug)
---------------------------+------------------------
 Reporter:  slaFFik        |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Rewrite Rules  |     Version:  1.6.1
 Severity:  major          |  Resolution:  duplicate
 Keywords:  needs-patch    |
---------------------------+------------------------

Comment (by boonebgorges):

 In [changeset:"8090"]:
 {{{
 #!CommitTicketReference repository="" revision="8090"
 Improve strings used for <title> and header of directory pages

 Our legacy method for creating directory titles involved concatenating the
 component name into '% Directory', which did not work well in languages
 where
 a term like 'Groups Directory' would be translated into a single word. In
 addition, there was inconistency between the <title> element on directory
 pages
 and the header element used in the page body.

 This changeset introduces a 'directory_title' parameter to
 BP_Core_Component,
 so that directories can register a fully localizable string as the title/
 header for directories.

 To avoid filter name conflicts, the filter names associated with the
 headers
 on group and blog directory pages were changed to _directory_header. See
 r7942,

 See #4726, #4630

 Fixes #4631
 }}}

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


More information about the buddypress-trac mailing list