Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Media: Cache parent posts in query-attachments AJAX endpoint.
Prime the parent post objects `wp_ajax_query_attachments()` to reduce the number of database queries in the query-attachments admin-ajax endpoint. Props albatross10. Fixes #56037. Built from https://develop.svn.wordpress.org/trunk@53885 git-svn-id: http://core.svn.wordpress.org/trunk@53444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information