Changeset 52834
- Timestamp:
- 03/10/2022 03:59:35 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php
r52422 r52834 98 98 99 99 $args = $this->get_taxonomies_query_args( $taxonomy ); 100 $args['fields'] = 'all'; 100 101 $args['offset'] = $offset; 101 102 … … 118 119 * 119 120 * @since 5.5.0 121 * @since 6.0.0 Added fourth argument for the term object. 120 122 * 121 123 * @param array $sitemap_entry Sitemap entry for the term. 124 * @param int $term_id Term ID. 125 * @param string $taxonomy Taxonomy name. 122 126 * @param WP_Term $term Term object. 123 * @param string $taxonomy Taxonomy name.124 127 */ 125 $sitemap_entry = apply_filters( 'wp_sitemaps_taxonomies_entry', $sitemap_entry, $term , $taxonomy);128 $sitemap_entry = apply_filters( 'wp_sitemaps_taxonomies_entry', $sitemap_entry, $term->term_id, $taxonomy, $term ); 126 129 $url_list[] = $sitemap_entry; 127 130 } … … 195 198 'wp_sitemaps_taxonomies_query_args', 196 199 array( 197 'fields' => 'ids',198 200 'taxonomy' => $taxonomy, 199 201 'orderby' => 'term_order',
Note: See TracChangeset
for help on using the changeset viewer.