Changeset 52715
- Timestamp:
- 02/11/2022 10:51:16 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-includes/script-loader.php
r52665 r52715 2771 2771 } 2772 2772 2773 // Skip if the URL is an HTML ID. 2774 if ( str_starts_with( $src_result, '#' ) ) { 2775 continue; 2776 } 2777 2773 2778 // Build the absolute URL. 2774 2779 $absolute_url = dirname( $stylesheet_url ) . '/' . $src_result; -
branches/5.9/tests/phpunit/tests/dependencies/styles.php
r52036 r52715 196 196 * 197 197 * @ticket 54243 198 * @ticket 54922 198 199 * 199 200 * @covers ::_wp_normalize_relative_css_links … … 231 232 'css' => 'p {background-image: url(\'http://foo.com/image2.png\');}', 232 233 'expected' => 'p {background-image: url(\'http://foo.com/image2.png\');}', 234 ), 235 'An HTML ID' => array( 236 'css' => 'clip-path: url(#image1);', 237 'expected' => 'clip-path: url(#image1);', 233 238 ), 234 239 );
Note: See TracChangeset
for help on using the changeset viewer.