Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#6339 closed defect (bug) (fixed)

site (blog) directory <title> is redundant: "Site Directory Directory."

Reported by: jreeve Owned by: boonebgorges
Priority: normal Milestone: 2.3
Component: Core Version:
Severity: normal Keywords:
Cc:

Description

This is the case on our website, MLA Commons, but also on BuddyPress's own site directory. What seems to be happening is that the function bp_get_directory_title() is concatenating buddypress()->{$component}->name with "Directory", and the component name is not a single word, like it is for the Members or Groups components, but Site Directory. This means that "Site Directory" gets concatenated with "Directory" to produce "Site Directory Directory."

This might be fixed by just changing Site Directory to Site in bp-blogs-loader.php. Hopefully that doesn't have any other side effects?

Change History (3)

#1 @boonebgorges
11 years ago

  • Milestone Awaiting Review2.3

Looks like the Blogs component was missed in [8090]. See #4631, #4726, #4630. Thanks for the report.

#2 @boonebgorges
11 years ago

  • Owner set to boonebgorges
  • Resolutionfixed
  • Status newclosed

In 9672:

Specify a 'directory_title' for the bp-blogs component.

This prevents lousy concatenation in bp_get_directory_title().

See [8090], #4631.

Fixes #6339.

#3 @DJPaul
10 years ago

  • Component APICore
Note: See TracTickets for help on using tickets.