WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#24285 closed enhancement (fixed)

Allow to filter AJAX attachments query args

Reported by: alex-ye Owned by: nacin
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch commit
Focuses: Cc:

Description

Hi, I am currently working on plugin that shows only the author-attachments in the new WordPress Media Manger ( like view-own-posts-media-only plugin but more cleaner and smarter )

A filter to allow modify the AJAX attachments query is needed.

Attachments (1)

ajax-actions.patch (796 bytes) - added by alex-ye 7 years ago.
First Draft

Download all attachments as: .zip

Change History (7)

@alex-ye
7 years ago

First Draft

#1 @westonruter
7 years ago

  • Keywords has-patch added; needs-patch removed

#2 @nacin
7 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.7

#3 @helen
7 years ago

Can we get some hook docs on this? See the standards and the effort on #25229.

#4 @SergeyBiryukov
7 years ago

  • Keywords needs-docs added

#5 @nacin
7 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 25279:

Add new ajax_query_attachments_args filter.

props alex-ye.
fixes #24285.

#6 @nacin
7 years ago

  • Keywords needs-docs removed
Note: See TracTickets for help on using tickets.