mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user