wp_favicon_request() – Don’t load all of WordPress when handling a favicon.ico request.
You appear to be a bot. Output may be restricted
Description
Don't load all of WordPress when handling a favicon.ico request.
Instead, send the headers for a zero-length favicon and bail.
Usage
wp_favicon_request();
Parameters
Returns
void
Source
File name: wordpress/wp-includes/load.php
Lines:
1 to 6 of 6
function wp_favicon_request() { if ( '/favicon.ico' === $_SERVER['REQUEST_URI'] ) { header( 'Content-Type: image/vnd.microsoft.icon' ); exit; } }