Changeset 63573 for branches/7.0/src/wp-includes/class-wp.php
- Timestamp:
- 09/10/2026 12:38:33 AM (2 months ago)
- Location:
- branches/7.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/class-wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/7.0
-
branches/7.0/src/wp-includes/class-wp.php
r61445 r63573 747 747 $set_404 = true; 748 748 749 // Never 404 for the admin, robots, or favicon. 750 if ( is_admin() || is_robots() || is_favicon() ) { 749 // Never 404 here for the admin, robots, favicon, or sitemaps. 750 // Sitemap routes send their own status in WP_Sitemaps::render_sitemaps(). 751 if ( is_admin() || is_robots() || is_favicon() || is_sitemap() || get_query_var( 'sitemap-stylesheet' ) ) { 751 752 $set_404 = false; 752 753
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)