Make WordPress Core

Changeset 37190


Ignore:
Timestamp:
04/13/2016 04:15:40 AM (9 years ago)
Author:
SergeyBiryukov
Message:

I18N: After [37188], display script and style tags in the message as <script> and <style>.

Props dd32.
See #36496.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

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

    r37188 r37190  
    111111            /* translators: 1: script, 2: wp_add_inline_script() */
    112112            __( 'Do not pass %1$s tags to %2$s.' ),
    113             '<code>script</code>',
     113            '<code>&lt;script&gt;</code>',
    114114            '<code>wp_add_inline_script()</code>'
    115115        ), '4.5' );
  • trunk/src/wp-includes/functions.wp-styles.php

    r37188 r37190  
    8888            /* translators: 1: style, 2: wp_add_inline_style() */
    8989            __( 'Do not pass %1$s tags to %2$s.' ),
    90             '<code>style</code>',
     90            '<code>&lt;style&gt;</code>',
    9191            '<code>wp_add_inline_style()</code>'
    9292        ), '3.7' );
Note: See TracChangeset for help on using the changeset viewer.