Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#6339 closed defect (bug) (fixed)

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

Reported by: jreeve Owned by: boonebgorges
Milestone: 2.3 Priority: normal
Severity: normal Version:
Component: Core 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
5 years ago

  • Milestone changed from Awaiting Review to 2.3

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

#2 @boonebgorges
5 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

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
3 years ago

  • Component changed from API to Core
Note: See TracTickets for help on using tickets.