Opened 16 months ago

Closed 15 months ago

Last modified 15 months ago

#19953 closed enhancement (fixed)

Remove old show_last_update argument and related code from wp_dropdown_categories

Reported by: solarissmoke Owned by: duck_
Priority: normal Milestone: 3.4
Component: General Version: 3.3.1
Severity: minor Keywords: has-patch
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 16 months ago.

Download all attachments as: .zip

Change History (5)

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.4

Works for me.

  • 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.

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.