Make WordPress Core

Opened 14 years ago

Closed 10 years ago

#16982 closed enhancement (fixed)

Deprecate post_permalink()

Reported by: scribu's profile scribu Owned by: wonderboymusic's profile wonderboymusic
Milestone: 4.4 Priority: normal
Severity: minor Version:
Component: Permalinks Keywords: has-patch
Focuses: Cc:

Description

post_permalink() does nothing but call get_permalink() and already has a deprecated argument.

Let's deprecate it completely, since it's useless.

Attachments (2)

16982.diff (1.3 KB) - added by solarissmoke 14 years ago.
16982.2.diff (1.3 KB) - added by solarissmoke 14 years ago.
sans deprecated argument

Download all attachments as: .zip

Change History (6)

@solarissmoke
14 years ago

#1 @solarissmoke
14 years ago

  • Keywords has-patch added; needs-patch removed

@solarissmoke
14 years ago

sans deprecated argument

#2 @iseulde
12 years ago

  • Component changed from General to Permalinks

#3 @wonderboymusic
10 years ago

  • Milestone changed from Future Release to 4.4

#4 @wonderboymusic
10 years ago

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

In 33659:

Deprecate post_permalink() (Introduced in 1.0, already had a deprecated argument in 1.3), which just wraps get_permalink() and was only used by XML-RPC in 4 places.

Props solarissmoke.
Fixes #16982.

Note: See TracTickets for help on using tickets.