deleted file object-cache.php

This commit is contained in:
2023-12-08 23:24:46 +00:00
committed by Gitium
parent 68d0f8ee2d
commit 50cc9dca5b
2840 changed files with 0 additions and 358705 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 );