Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#24285 closed enhancement (fixed)

Allow to filter AJAX attachments query args

Reported by: alex-ye's profile alex-ye Owned by: nacin's profile 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 11 years ago.
First Draft

Download all attachments as: .zip

Change History (7)

@alex-ye
11 years ago

First Draft

#1 @westonruter
11 years ago

  • Keywords has-patch added; needs-patch removed

#2 @nacin
11 years ago

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

#3 @helen
11 years ago

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

#4 @SergeyBiryukov
11 years ago

  • Keywords needs-docs added

#5 @nacin
11 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
11 years ago

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