Subir ajustes de acordeon y SEO
This commit is contained in:
@@ -746,8 +746,9 @@ class WP {
|
||||
|
||||
$set_404 = true;
|
||||
|
||||
// Never 404 for the admin, robots, or favicon.
|
||||
if ( is_admin() || is_robots() || is_favicon() ) {
|
||||
// Never 404 here for the admin, robots, favicon, or sitemaps.
|
||||
// Sitemap routes send their own status in WP_Sitemaps::render_sitemaps().
|
||||
if ( is_admin() || is_robots() || is_favicon() || is_sitemap() || get_query_var( 'sitemap-stylesheet' ) ) {
|
||||
$set_404 = false;
|
||||
|
||||
// If posts were found, check for paged content.
|
||||
|
||||
Reference in New Issue
Block a user