WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 5 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 9 years ago.

Download all attachments as: .zip

Change History (6)

@solarissmoke
9 years ago

#1 @kawauso
9 years ago

  • Keywords has-patch added

#2 @nacin
9 years ago

  • Milestone changed from Awaiting Review to 3.4

Works for me.

#3 @duck_
9 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.

#4 @duck_
9 years ago

In [19928]:

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

#5 @chriscct7
5 years ago

#16872 was marked as a duplicate.

Note: See TracTickets for help on using tickets.