WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17021 closed enhancement (duplicate)

add hook for Find Posts query

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

Description

The Ajax-initiated Find Posts query featured in the Nav Menu Manager is not filterable. Plugins which can filter post access via WP_Query hooks need a way to adjust the Find Posts output accordingly.

Corresponding patch adds the query filter 'find_posts_query' in admin-ajax.php

Attachments (1)

find-posts_3.2.patch (951 bytes) - added by kevinB 4 years ago.
query filter for ajax Find Posts

Download all attachments as: .zip

Change History (2)

@kevinB4 years ago

query filter for ajax Find Posts

comment:1 @scribu4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.