Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r11204 r11245  
    5959    if ( $dismissed ) {
    6060
    61         $show_text = js_escape(__('Show hidden updates'));
    62         $hide_text = js_escape(__('Hide hidden updates'));
     61        $show_text = esc_js(__('Show hidden updates'));
     62        $hide_text = esc_js(__('Hide hidden updates'));
    6363    ?>
    6464    <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.