mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
b05a22066a5842a2ab652389f68ba5053f846f4c
In [38296] we replaced `get_post_meta()` with `wp_get_attachment_metadata()` so that attachment metadata could be consistently filtered. However, this results in extra post queries which were previously avoided. This uses `_prime_post_caches()` instead of `update_meta_cache()` to improve post caching before looping through all images to retrieve attachment metadata. Props dlh. Fixes #40490. git-svn-id: https://develop.svn.wordpress.org/trunk@41315 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
243 MiB
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%