Changeset 43571 for trunk/src/wp-includes/functions.wp-styles.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-styles.php
r42343 r43571 86 86 if ( false !== stripos( $data, '</style>' ) ) { 87 87 _doing_it_wrong( 88 __FUNCTION__, sprintf( 88 __FUNCTION__, 89 sprintf( 89 90 /* translators: 1: <style>, 2: wp_add_inline_style() */ 90 91 __( 'Do not pass %1$s tags to %2$s.' ), 91 92 '<code><style></code>', 92 93 '<code>wp_add_inline_style()</code>' 93 ), '3.7.0' 94 ), 95 '3.7.0' 94 96 ); 95 97 $data = trim( preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) );
Note: See TracChangeset
for help on using the changeset viewer.