Add noindexing to the default wp_die() handler to avoid unnecessary crawl errors in web search engines.

Fixes #34401
Props rodrigosprimo


git-svn-id: https://develop.svn.wordpress.org/trunk@37210 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2016-04-15 02:04:54 +00:00
parent f2f356acfe
commit 6fe6d25f01

View File

@@ -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 {