WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12172 closed defect (bug) (fixed)

Function get_post_link needs new name

Reported by: johnjamesjacoby Owned by: ryan
Milestone: 3.0 Priority: high
Severity: normal Version: 3.0
Component: Permalinks Keywords: has-patch
Focuses: Cc:

Description

get_post_link is a bbPress function. Using it for WordPress 3.0 will stop bbPress deep integration and the BuddyPress Forums component from working.

Maybe use get_post_permalink instead?

P.S. - Component list needs "Post Type" added to it.

Attachments (1)

get_post_permalink.diff (2.0 KB) - added by scribu 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 nacin4 years ago

  • Milestone changed from Unassigned to 3.0

scribu4 years ago

comment:2 scribu4 years ago

  • Keywords has-patch added; needs-patch removed

comment:3 ryan4 years ago

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

(In [13023]) Rename get_post_link() to get_post_permalink() to avoid conflict with bbPress. Props scribu. fixes #12172

Note: See TracTickets for help on using tickets.