Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#1248 closed defect (bug) (no action required)

$wire_link needs to use constant rather than text.

Reported by: mariusooms Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: has-patch
Cc:

Description

In both bp-xprofile-notifications.php (line 32) and bp-groups-notifications.php (line 25), the word 'wire' should be replaced with:

$bp->wire->slug

By doing this notifications will link to the correct url when 'wire' has been defined as something else by changing the constant.

Attachments (1)

remove-hard-coded-wire-slug-references.diff (1.3 KB) - added by boonebgorges 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @DJPaul
10 years ago

  • Keywords needs-patch added

Some others lurking too.

#2 @boonebgorges
10 years ago

The attached patch fixes the two spots in the ticket.

#3 @boonebgorges
10 years ago

  • Keywords has-patch added; needs-patch removed

#4 @apeatling
10 years ago

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

Wire is deprecated, this will be moved to the backwards compatibility plugin.

Note: See TracTickets for help on using tickets.