WordPress.org

Make WordPress Core

Changeset 19655


Ignore:
Timestamp:
01/03/12 18:04:56 (2 years ago)
Author:
nacin
Message:

Remove esc_js() as this content now gets json encoded rather than a straight echo. props ocean90. see #19644, for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r19596 r19655  
    17621762 
    17631763    public static function pointer_wp330_toolbar() { 
    1764         $content  = '<h3>' . esc_js( __( 'New Feature: Toolbar' ) ). '</h3>'; 
    1765         $content .= '<p>' . esc_js( __( 'We&#8217;ve combined the admin bar and the old Dashboard header into one persistent toolbar. Hover over the toolbar items to see what&#8217;s new.' ) ) . '</p>'; 
     1764        $content  = '<h3>' . __( 'New Feature: Toolbar' ) . '</h3>'; 
     1765        $content .= '<p>' .  __( 'We&#8217;ve combined the admin bar and the old Dashboard header into one persistent toolbar. Hover over the toolbar items to see what&#8217;s new.' ) . '</p>'; 
    17661766 
    17671767        if ( is_multisite() && is_super_admin() ) 
    1768             $content .= '<p>' .esc_js( __( 'Network Admin is now located in the My Sites menu.' ) ) . '</p>'; 
     1768            $content .= '<p>' . __( 'Network Admin is now located in the My Sites menu.' ) . '</p>'; 
    17691769 
    17701770        WP_Internal_Pointers::print_js( 'wp330_toolbar', '#wpadminbar', array( 
     
    17801780     */ 
    17811781    public static function pointer_wp330_media_uploader() { 
    1782         $content  = '<h3>' . esc_js( __( 'Updated Media Uploader' ) ) . '</h3>'; 
    1783         $content .= '<p>' . esc_js( __( 'The single media icon now launches the uploader for all file types, and the new drag and drop interface makes uploading a breeze.' ) ) . '</p>'; 
     1782        $content  = '<h3>' . __( 'Updated Media Uploader' ) . '</h3>'; 
     1783        $content .= '<p>' . __( 'The single media icon now launches the uploader for all file types, and the new drag and drop interface makes uploading a breeze.' ) . '</p>'; 
    17841784 
    17851785        WP_Internal_Pointers::print_js( 'wp330_media_uploader', '#content-add_media', array( 
     
    17951795     */ 
    17961796    public static function pointer_wp330_saving_widgets() { 
    1797         $content  = '<h3>' . esc_js( __( 'New Feature: Saving Widgets' ) ) . '</h3>'; 
    1798         $content .= '<p>' . esc_js( __( 'If you change your mind and revert to your previous theme, we&#8217;ll put the widgets back the way you had them.' ) ) . '</p>'; 
     1797        $content  = '<h3>' . __( 'New Feature: Saving Widgets' ) . '</h3>'; 
     1798        $content .= '<p>' . __( 'If you change your mind and revert to your previous theme, we&#8217;ll put the widgets back the way you had them.' ). '</p>'; 
    17991799 
    18001800        WP_Internal_Pointers::print_js( 'wp330_saving_widgets', '#message2', array( 
Note: See TracChangeset for help on using the changeset viewer.