WordPress.org

Make WordPress Core

Changeset 37210


Ignore:
Timestamp:
04/15/16 02:04:54 (19 months ago)
Author:
johnbillion
Message:

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

Fixes #34401
Props rodrigosprimo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r37189 r37210  
    26632663    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    26642664    <meta name="viewport" content="width=device-width"> 
     2665    <?php wp_no_robots(); ?> 
    26652666    <title><?php echo $title ?></title> 
    26662667    <style type="text/css"> 
Note: See TracChangeset for help on using the changeset viewer.