diff options
author | Jb Audras <audrasjb@git.wordpress.org> | 2022-09-20 14:20:57 +0000 |
---|---|---|
committer | Jb Audras <audrasjb@git.wordpress.org> | 2022-09-20 14:20:57 +0000 |
commit | 0cfcb3e2722bf967cd44ef8d999f6fbc14a95891 (patch) | |
tree | d2586b82d157dc247b73bb7ee8af33d4bdb45dcb /tools/webpack/blocks.js | |
parent | beeb5a4a97ce00c344fcc6053bba3add8fae9a66 (diff) | |
download | wordpress-0cfcb3e2722bf967cd44ef8d999f6fbc14a95891.tar.gz wordpress-0cfcb3e2722bf967cd44ef8d999f6fbc14a95891.zip |
Media: Add caching to `wp_count_attachments()`.
This changeset adds caching to `wp_count_attachments()`, for better consistency with `wp_count_posts()`.
Props jeherve, antpb, mukesh27, robinwpdeveloper, costdev.
Fixes #55227.
git-svn-id: https://develop.svn.wordpress.org/trunk@54255 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tools/webpack/blocks.js')
0 files changed, 0 insertions, 0 deletions