deleted file object-cache.php (after deactivation of W3 Total Cache version 2.7.0)

This commit is contained in:
2024-04-19 10:50:30 +00:00
committed by Gitium
parent 8e79281642
commit fd49653431
3041 changed files with 0 additions and 410531 deletions

View File

@ -1,17 +0,0 @@
<?php
namespace Activitypub;
/**
* Allow localhost URLs if WP_DEBUG is true.
*
* @param array $r Array of HTTP request args.
* @param string $url The request URL.
*
* @return array Array or string of HTTP request arguments.
*/
function allow_localhost( $r, $url ) {
$r['reject_unsafe_urls'] = false;
return $r;
}
add_filter( 'http_request_args', '\Activitypub\allow_localhost', 10, 2 );