Changeset 61402 for trunk/src/wp-includes/functions.wp-styles.php
- Timestamp:
- 12/22/2025 08:43:17 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.wp-styles.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-styles.php
r60948 r61402 39 39 * @global WP_Styles $wp_styles The WP_Styles object for printing styles. 40 40 * 41 * @param string| bool|array$handles Styles to be printed. Default 'false'.41 * @param string|false|string[] $handles Styles to be printed. Default 'false'. 42 42 * @return string[] On success, an array of handles of processed WP_Dependencies items; otherwise, an empty array. 43 43 */ … … 99 99 '3.7.0' 100 100 ); 101 $data = trim( preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) );101 $data = trim( (string) preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) ); 102 102 } 103 103
Note: See TracChangeset
for help on using the changeset viewer.