When deleting a term, it has to be removed individually from each object it's connected to, which can take some significant time when there are a lot of objects. By calling `wp_remove_object_terms()` when no default term is required, we can skip the terms fetch/diff step and significantly speed up the deletion process. Props dd32. Fixes #52549. Built from https://develop.svn.wordpress.org/trunk@50389 git-svn-id: http://core.svn.wordpress.org/trunk@50000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
162 KiB
162 KiB