Changeset 25809 for trunk/src/wp-includes/functions.wp-styles.php
- Timestamp:
- 10/16/2013 04:45:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-styles.php
r25786 r25809 73 73 74 74 if ( false !== stripos( $data, '</style>' ) ) { 75 _doing_it_wrong( __FUNCTION__, 'Do not pass <style> tags to wp_add_inline_style()', '3.7' );75 _doing_it_wrong( __FUNCTION__, 'Do not pass style tags to wp_add_inline_style().', '3.7' ); 76 76 $data = trim( preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) ); 77 77 }
Note: See TracChangeset
for help on using the changeset viewer.