Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#19953 closed enhancement (fixed)

Remove old show_last_update argument and related code from wp_dropdown_categories

Reported by: solarissmoke's profile solarissmoke Owned by: duck_'s profile 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 13 years ago.

Download all attachments as: .zip

Change History (6)

@solarissmoke
13 years ago

#1 @kawauso
13 years ago

  • Keywords has-patch added

#2 @nacin
13 years ago

  • Milestone changed from Awaiting Review to 3.4

Works for me.

#3 @duck_
13 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_
13 years ago

In [19928]:

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

#5 @chriscct7
10 years ago

#16872 was marked as a duplicate.

Note: See TracTickets for help on using tickets.