[wp-trac] [WordPress Trac] #55239: Filter hook wp_sitemaps_taxonomies_entry passes Term ID not Object
WordPress Trac
noreply at wordpress.org
Tue Mar 1 16:01:57 UTC 2022
#55239: Filter hook wp_sitemaps_taxonomies_entry passes Term ID not Object
-------------------------------------+---------------------
Reporter: RavanH | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Sitemaps | Version: 5.9.1
Severity: minor | Resolution:
Keywords: has-patch needs-refresh | Focuses: docs
-------------------------------------+---------------------
Comment (by RavanH):
During testing, I just noticed that setting `$args['fields'] = 'all'`
(back to its original intended value?) reduces the number of DB queries by
a huge number on large taxonomy term sitemaps. Just as an added bonus :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55239#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list