Subir ajustes de acordeon y SEO
This commit is contained in:
@@ -1023,7 +1023,10 @@ class WP_Http {
|
||||
|
||||
// Strip all /path/../ out of the path.
|
||||
while ( strpos( $path, '../' ) > 1 ) {
|
||||
$path = preg_replace( '![^/]+/\.\./!', '', $path );
|
||||
$path = preg_replace( '![^/]+/\.\./!', '', $path, -1, $segment_replacement_count );
|
||||
if ( 0 === $segment_replacement_count ) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Strip any final leading ../ from the path.
|
||||
|
||||
Reference in New Issue
Block a user