diff options
author | Felix Arntz <flixos90@git.wordpress.org> | 2025-04-28 20:49:19 +0000 |
---|---|---|
committer | Felix Arntz <flixos90@git.wordpress.org> | 2025-04-28 20:49:19 +0000 |
commit | d985e8fb677d7df7a8a8bf8077eca06a4f2b8195 (patch) | |
tree | ed8c3b481dc1d18ad8fefd8cd68e476de8a37e9a /tools | |
parent | b2b71626fbd66523beaff0a1a3caa96836d41817 (diff) | |
download | wordpress-d985e8fb677d7df7a8a8bf8077eca06a4f2b8195.tar.gz wordpress-d985e8fb677d7df7a8a8bf8077eca06a4f2b8195.zip |
Query: Avoid unnecessary database query when deleting a font family.
Querying only the font face IDs is sufficient when deleting a font family. There is no need to warm the caches with the full objects, since `wp_delete_post()` will always make a direct database query to get the object anyway.
Props dilipbheda.
Fixes #63014.
git-svn-id: https://develop.svn.wordpress.org/trunk@60203 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions