updated plugin W3 Total Cache version 2.7.1

This commit is contained in:
2024-04-19 10:59:45 +00:00
committed by Gitium
parent 9420356fcf
commit 1a790bdd29
66 changed files with 3082 additions and 2126 deletions

View File

@ -175,7 +175,7 @@ class PgCache_Plugin_Admin {
if ( !Util_Environment::is_url( $url ) )
$url = home_url( $url );
$urls = array();
$urls = array( $url );
$response = Util_Http::get( $url );
if ( !is_wp_error( $response ) && $response['response']['code'] == 200 ) {
@ -218,7 +218,7 @@ class PgCache_Plugin_Admin {
arsort( $locs );
$urls = array_keys( $locs );
$urls = array_merge( $urls, array_keys( $locs ) );
} elseif ( preg_match_all( '~<rss[^>]*>(.*?)</rss>~is', $response['body'], $sitemap_matches ) ) {
// rss feed format