Skip to content
Permalink
Browse files

Date/Time: Revert unintended changes from [45882].

Props TimothyBlynJacobs.
See #25768.

git-svn-id: https://develop.svn.wordpress.org/trunk@45884 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 23, 2019
1 parent 1c66cf5 commit ff36b9664fb5d97dcb2eda09cbbef6cf672f2bc0
Showing with 0 additions and 34 deletions.
  1. +0 −34 src/wp-includes/functions.php
@@ -1567,40 +1567,6 @@ function do_robots() {
echo apply_filters( 'robots_txt', $output, $public );
}
/**
* Display the robots.txt file content.
*
* The echo content should be with usage of the permalinks or for creating the
* robots.txt file.
*
* @since 5.3.0
*/
function do_favicon() {
/**
* Fires when serving the favicon.ico file.
*
* @since 5.3.0
*/
do_action( 'do_faviconico' );
wp_safe_redirect( esc_url( get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) ) ) );
}
/**
* Don't load all of WordPress when handling a favicon.ico request.
*
* Instead, send the headers for a zero-length favicon and bail.
*
* @since 3.0.0
*/
function wp_favicon_request() {
if ( '/favicon.ico' == $_SERVER['REQUEST_URI'] ) {
header( 'Content-Type: image/vnd.microsoft.icon' );
exit;
}
}
/**
* Determines whether WordPress is already installed.
*

0 comments on commit ff36b96

Please sign in to comment.
You can’t perform that action at this time.