Opened 3 years ago

Closed 3 years ago

#2548 closed defect (bug) (fixed)

Custom Menu Link Title Incorrect

Reported by: intimez Owned by:
Priority: normal Milestone: 1.2.6
Component: Core Version:
Severity: Keywords: has-patch needs-testing
Cc: johnjamesjacoby, cnorris23, gwu123

Description

When browsing, non custom menu link (pages, categories) display the title just fine. Custom links displays other post title.

Appearance > Menu > Custom Links
URL = http://www.example.com/members
Label = Members

URL = http://www.example.com/groups
Label = Groups

[wordpress3+buddypress1.2.5.2]

Attachments (1)

2548.001.diff (555 bytes) - added by cnorris23 3 years ago.

Download all attachments as: .zip

Change History (7)

  • Cc gwu123 added
  • Keywords page, added; custom, menu, link, meta removed
  • Milestone changed from 1.3 to 1.2.6

Here's a preliminary patch. The issue seems to be with the fact that bp_current_component would return false on any WP pages, which would then cause the page title to display as "Home." I've removed the reference to bp_current_component, and the issue seems to be fixed. I've tested this, and it seems to have no consequence, but at the same time, I haven't spent a lot of time trying to figure out why it was there in the first place.

  • Keywords has-patch needs-testing added; page, title, removed

Yes, this patch does exactly what it is intended to do and it is working for me without any issues. WP 3.01 BP 1.2.5.2

Yes, this patch works. It was difficult to convict them that the title tags don’t change after to go see the posts and pages. I wouldn’t use BuddyPress without the properly title is like driving a car without a wheel.

http://buddypress.org/community/groups/requests-feedback/forum/topic/no-title-of-each-posts-and-pages/

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

(In [3210]) Fixes #2548 props cnorris23

Note: See TracTickets for help on using tickets.