#27171 closed defect (bug) (invalid)
Can't set order argument for wp_get_archives
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.8.1 |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
It's listed as available in the codex. http://codex.wordpress.org/Function_Reference/wp_get_archives
... but under function wp_get_archives()
/wp-includes/general-template.php:877 that default is not listed.
Looks like it needs to be added to the end of the $defaults array (line 884).
Then $order then needs to be added after "post_date" on lines 924, 946, 967, 990 and 1019.
This does appear to have been submitted, but since it was 18 months ago, wasn't sure if I should resubmit. [21610]
Change History (2)
#1
in reply to:
↑ description
@
9 years ago
- Description modified (diff)
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Replying to tcloninger:
It is: tags/3.8.1/src/wp-includes/general-template.php#L937.
Judging by line numbers you mention, you seem to be using version 3.4.2.
[21610] was added 18 months ago in 3.5. Please update to the latest release (3.8.1 at the moment).