Opened 2 years ago

Last modified 2 years ago

#17022 new enhancement

months_dropdown() is not filterable

Reported by: kevinB Owned by:
Priority: normal Milestone: Awaiting Review
Component: Query Version:
Severity: normal Keywords: has-patch
Cc:

Description

The months_dropdown() function used on the Edit Posts and Media Library listing forms is not filterable. This causes invalid month items when a plugin uses the WP_Query API to filter editable posts.

The corresponding patch adds the query filter 'months_dropdown_query'

Attachments (1)

months_dropdown_3.2.patch (745 bytes) - added by kevinB 2 years ago.
query filter for months_dropdown()

Download all attachments as: .zip

Change History (3)

kevinB2 years ago

query filter for months_dropdown()

Related: #17025

  • Summary changed from Edit Posts / Media Library: add hook for months_dropdown() to months_dropdown() is not filterable
Note: See TracTickets for help on using tickets.