mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Date/Time: Revert unintended changes from [45882].
Props TimothyBlynJacobs. See #25768. Built from https://develop.svn.wordpress.org/trunk@45884 git-svn-id: http://core.svn.wordpress.org/trunk@45695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e555f0c77
commit
6330f10b7d
@ -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.
|
||||
*
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-45883';
|
||||
$wp_version = '5.3-alpha-45884';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user