Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 11 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_
Priority: normal Milestone: 3.4
Component: General Version: 3.3.1
Severity: minor Keywords: has-patch
Cc: Focuses:

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 15 years ago.

Download all attachments as: .zip

Change History (6)

@solarissmoke
15 years ago

#1 @kawauso
15 years ago

  • Keywords has-patch added

#2 @nacin
15 years ago

  • Milestone Awaiting Review → 3.4

Works for me.

#3 @duck_
15 years ago

  • Owner set to duck_
  • Resolution → fixed
  • Status new → 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_
15 years ago

In [19928]:

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

#5 @chriscct7
11 years ago

#16872 was marked as a duplicate.

Note: See TracTickets for help on using tickets.