Make WordPress Core


Ignore:
Timestamp:
05/09/2009 07:27:22 AM (15 years ago)
Author:
markjaquith
Message:

esc_js(). Shorter, follows new escaping naming convention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r11224 r11245  
    403403                break;
    404404            case 'photo' :
    405                 jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin_light.gif" alt="" /> <?php echo js_escape( __( 'Loading...' ) ); ?></p>');
     405                jQuery('#extra_fields').before('<p id="waiting"><img src="images/wpspin_light.gif" alt="" /> <?php echo esc_js( __( 'Loading...' ) ); ?></p>');
    406406                jQuery.ajax({
    407407                    type: "GET",
Note: See TracChangeset for help on using the changeset viewer.