- Timestamp:
- 09/09/2021 07:20:56 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/providers/class-wp-sitemaps-taxonomies.php
r49137 r51787 52 52 * 53 53 * @since 5.5.0 54 * 55 * @param int $page_num Page of results. 56 * @param string $taxonomy Optional. Taxonomy name. Default empty. 54 * @since 5.9.0 Renamed `$taxonomy` to `$object_subtype` to match parent class 55 * for PHP 8 named parameter support. 56 * 57 * @param int $page_num Page of results. 58 * @param string $object_subtype Optional. Taxonomy name. Default empty. 57 59 * @return array Array of URLs for a sitemap. 58 60 */ 59 public function get_url_list( $page_num, $taxonomy = '' ) { 61 public function get_url_list( $page_num, $object_subtype = '' ) { 62 // Restores the more descriptive, specific name for use within this method. 63 $taxonomy = $object_subtype; 60 64 $supported_types = $this->get_object_subtypes(); 61 65
Note: See TracChangeset
for help on using the changeset viewer.