Changeset 29840 for trunk/src/wp-includes/functions.wp-styles.php
- Timestamp:
- 10/05/2014 09:05:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-styles.php
r25950 r29840 76 76 77 77 if ( false !== stripos( $data, '</style>' ) ) { 78 _doing_it_wrong( __FUNCTION__, 'Do not pass style tags to wp_add_inline_style().', '3.7' );78 _doing_it_wrong( __FUNCTION__, __( 'Do not pass style tags to wp_add_inline_style().' ), '3.7' ); 79 79 $data = trim( preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) ); 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.