Changeset 59228 for trunk/src/wp-includes/class-wp-rewrite.php
- Timestamp:
- 10/14/2024 08:47:34 AM (22 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-rewrite.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-rewrite.php
r56549 r59228 1288 1288 $favicon_rewrite = ( empty( $home_path['path'] ) || '/' === $home_path['path'] ) ? array( 'favicon\.ico$' => $this->index . '?favicon=1' ) : array(); 1289 1289 1290 // sitemap.xml -- only if installed at the root. 1291 $sitemap_rewrite = ( empty( $home_path['path'] ) || '/' === $home_path['path'] ) ? array( 'sitemap\.xml' => $this->index . '??sitemap=index' ) : array(); 1292 1290 1293 // Old feed and service files. 1291 1294 $deprecated_files = array( … … 1450 1453 // Put them together. 1451 1454 if ( $this->use_verbose_page_rules ) { 1452 $this->rules = array_merge( $this->extra_rules_top, $robots_rewrite, $favicon_rewrite, $ deprecated_files, $registration_pages, $root_rewrite, $comments_rewrite, $search_rewrite, $author_rewrite, $date_rewrite, $page_rewrite, $post_rewrite, $this->extra_rules );1455 $this->rules = array_merge( $this->extra_rules_top, $robots_rewrite, $favicon_rewrite, $sitemap_rewrite, $deprecated_files, $registration_pages, $root_rewrite, $comments_rewrite, $search_rewrite, $author_rewrite, $date_rewrite, $page_rewrite, $post_rewrite, $this->extra_rules ); 1453 1456 } else { 1454 $this->rules = array_merge( $this->extra_rules_top, $robots_rewrite, $favicon_rewrite, $ deprecated_files, $registration_pages, $root_rewrite, $comments_rewrite, $search_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $page_rewrite, $this->extra_rules );1457 $this->rules = array_merge( $this->extra_rules_top, $robots_rewrite, $favicon_rewrite, $sitemap_rewrite, $deprecated_files, $registration_pages, $root_rewrite, $comments_rewrite, $search_rewrite, $author_rewrite, $date_rewrite, $post_rewrite, $page_rewrite, $this->extra_rules ); 1455 1458 } 1456 1459
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)