WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19953 closed enhancement (fixed)

Remove old show_last_update argument and related code from wp_dropdown_categories

Reported by: solarissmoke Owned by: duck_
Milestone: 3.4 Priority: normal
Severity: minor Version: 3.3.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

In wp_dropdown_categories() and the related walker class there is reference to a show_last_update argument which is linked to a last_update_timestamp property for category objects. That property was dropped about 5 years ago ([5525])!

Patch removes these. I haven't bothered adding _deprecated_argument() calls, seeing as setting the argument doesn't actually work (you just get PHP warnings), and hasn't for a really long time.

Attachments (1)

19953.diff (3.4 KB) - added by solarissmoke 2 years ago.

Download all attachments as: .zip

Change History (5)

solarissmoke2 years ago

comment:1 kawauso2 years ago

  • Keywords has-patch added

comment:2 nacin2 years ago

  • Milestone changed from Awaiting Review to 3.4

Works for me.

comment:3 duck_2 years ago

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

In [19927]:

Remove old show_last_update/include_last_update_time/show_date code from category template functions. Props solarissmoke. Fixes #19953.

comment:4 duck_2 years ago

In [19928]:

Remove use of nonexistent include_last_update_time arg from get_terms() call. See #19953.

Note: See TracTickets for help on using tickets.