summaryrefslogtreecommitdiffstatshomepage
path: root/tools
diff options
context:
space:
mode:
authorFelix Arntz <flixos90@git.wordpress.org>2025-04-28 20:49:19 +0000
committerFelix Arntz <flixos90@git.wordpress.org>2025-04-28 20:49:19 +0000
commitd985e8fb677d7df7a8a8bf8077eca06a4f2b8195 (patch)
treeed8c3b481dc1d18ad8fefd8cd68e476de8a37e9a /tools
parentb2b71626fbd66523beaff0a1a3caa96836d41817 (diff)
downloadwordpress-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