rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -73,7 +73,8 @@ foreach ( $load as $handle ) {
$content = get_file( $path ) . "\n";
if ( strpos( $style->src, '/' . WPINC . '/css/' ) === 0 ) {
// Note: str_starts_with() is not used here, as wp-includes/compat.php is not loaded in this file.
if ( 0 === strpos( $style->src, '/' . WPINC . '/css/' ) ) {
$content = str_replace( '../images/', '../' . WPINC . '/images/', $content );
$content = str_replace( '../js/tinymce/', '../' . WPINC . '/js/tinymce/', $content );
$content = str_replace( '../fonts/', '../' . WPINC . '/fonts/', $content );