Changeset 61416 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 12/29/2025 06:59:20 PM (3 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/script-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r61415 r61416 3011 3011 if ( $path && $src ) { 3012 3012 $size = wp_filesize( $path ); 3013 if ( ! $size ) { 3013 if ( 0 === $size && ! file_exists( $path ) ) { 3014 _doing_it_wrong( 3015 __FUNCTION__, 3016 sprintf( 3017 /* translators: 1: 'path', 2: filesystem path, 3: style handle */ 3018 __( 'Unable to read the "%1$s" key with value "%2$s" for stylesheet "%3$s".' ), 3019 'path', 3020 esc_html( $path ), 3021 esc_html( $handle ) 3022 ), 3023 '7.0.0' 3024 ); 3014 3025 continue; 3015 3026 } … … 3049 3060 3050 3061 // Get the styles if we don't already have them. 3062 if ( ! is_readable( $style['path'] ) ) { 3063 _doing_it_wrong( 3064 __FUNCTION__, 3065 sprintf( 3066 /* translators: 1: 'path', 2: filesystem path, 3: style handle */ 3067 __( 'Unable to read the "%1$s" key with value "%2$s" for stylesheet "%3$s".' ), 3068 'path', 3069 esc_html( $style['path'] ), 3070 esc_html( $style['handle'] ) 3071 ), 3072 '7.0.0' 3073 ); 3074 continue; 3075 } 3051 3076 $style['css'] = file_get_contents( $style['path'] ); 3052 3077
Note: See TracChangeset
for help on using the changeset viewer.