Subir ajustes de acordeon y SEO

This commit is contained in:
Gabriel
2026-10-23 11:18:13 -06:00
parent 03333c3ce7
commit 14b96152a5
103 changed files with 6638 additions and 5316 deletions
+4 -1
View File
@@ -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.