Make WordPress Core

Changeset 25809


Ignore:
Timestamp:
10/16/2013 04:45:08 AM (11 years ago)
Author:
nacin
Message:

Avoid printing a possible HTML element. fixes #24813.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.wp-styles.php

    r25786 r25809  
    7373
    7474    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' );
    7676        $data = trim( preg_replace( '#<style[^>]*>(.*)</style>#is', '$1', $data ) );
    7777    }
Note: See TracChangeset for help on using the changeset viewer.