Make WordPress Core


Ignore:
Timestamp:
10/18/2014 08:10:47 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use proper functions for escaped translations.

pros jcastaneda.
fixes #30012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r29920 r29961  
    8787    $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", array(), false, 1 );
    8888    did_action( 'init' ) && $scripts->localize( 'quicktags', 'quicktagsL10n', array(
    89         'closeAllOpenTags' => esc_attr(__('Close all open tags')),
    90         'closeTags' => esc_attr(__('close tags')),
    91         'enterURL' => __('Enter the URL'),
    92         'enterImageURL' => __('Enter the URL of the image'),
    93         'enterImageDescription' => __('Enter a description of the image'),
    94         'fullscreen' => __('fullscreen'),
    95         'toggleFullscreen' => esc_attr( __('Toggle fullscreen mode') ),
    96         'textdirection' => esc_attr( __('text direction') ),
    97         'toggleTextdirection' => esc_attr( __('Toggle Editor Text Direction') )
     89        'closeAllOpenTags'      => esc_attr__( 'Close all open tags' ),
     90        'closeTags'             => esc_attr__( 'close tags' ),
     91        'enterURL'              => __( 'Enter the URL' ),
     92        'enterImageURL'         => __( 'Enter the URL of the image' ),
     93        'enterImageDescription' => __( 'Enter a description of the image' ),
     94        'fullscreen'            => __( 'fullscreen' ),
     95        'toggleFullscreen'      => esc_attr__( 'Toggle fullscreen mode' ),
     96        'textdirection'         => esc_attr__( 'text direction' ),
     97        'toggleTextdirection'   => esc_attr__( 'Toggle Editor Text Direction' )
    9898    ) );
    9999
Note: See TracChangeset for help on using the changeset viewer.