Add noindexing to the default `wp_die()` handler to avoid unnecessary crawl errors in web search engines.
Fixes #34401 Props rodrigosprimo Built from https://develop.svn.wordpress.org/trunk@37210 git-svn-id: http://core.svn.wordpress.org/trunk@37176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
56cc4bc79c
commit
17be663ad0
|
@ -2662,6 +2662,7 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<?php wp_no_robots(); ?>
|
||||
<title><?php echo $title ?></title>
|
||||
<style type="text/css">
|
||||
html {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-alpha-37209';
|
||||
$wp_version = '4.6-alpha-37210';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue