Changeset 55710
- Timestamp:
- 05/03/2023 03:44:39 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/load-styles.php
r55703 r55710 74 74 $content = get_file( $path ) . "\n"; 75 75 76 if ( str_starts_with( $style->src, '/' . WPINC . '/css/' ) ) { 76 // str_starts_with() is not used here, as wp-includes/compat.php is not loaded in this file. 77 if ( 0 === strpos( $style->src, '/' . WPINC . '/css/' ) ) { 77 78 $content = str_replace( '../images/', '../' . WPINC . '/images/', $content ); 78 79 $content = str_replace( '../js/tinymce/', '../' . WPINC . '/js/tinymce/', $content );
Note: See TracChangeset
for help on using the changeset viewer.