From 2b2dde968beab6a8e198ab1710cf0b21d7bb7105 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Sun, 12 Jun 2016 00:33:27 +0000 Subject: [PATCH] Login: Fire `wp_no_robots()` in `wp_die()` only if function exists. This covers cases where `wp_die()` is used before `general-template.php` is loaded. Fixes #34401. git-svn-id: https://develop.svn.wordpress.org/trunk@37689 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 878ed7c902..a39e7034cb 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -2661,7 +2661,11 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) { - + <?php echo $title ?>