Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/blogger.php

    r11204 r11245  
    191191                }
    192192//echo '<pre>'.print_r($this,1).'</pre>';
    193                 $start    = js_escape( __('Import') );
    194                 $continue = js_escape( __('Continue') );
    195                 $stop     = js_escape( __('Importing...') );
    196                 $authors  = js_escape( __('Set Authors') );
    197                 $loadauth = js_escape( __('Preparing author mapping form...') );
    198                 $authhead = js_escape( __('Final Step: Author Mapping') );
    199                 $nothing  = js_escape( __('Nothing was imported. Had you already imported this blog?') );
     193                $start    = esc_js( __('Import') );
     194                $continue = esc_js( __('Continue') );
     195                $stop     = esc_js( __('Importing...') );
     196                $authors  = esc_js( __('Set Authors') );
     197                $loadauth = esc_js( __('Preparing author mapping form...') );
     198                $authhead = esc_js( __('Final Step: Author Mapping') );
     199                $nothing  = esc_js( __('Nothing was imported. Had you already imported this blog?') );
    200200                $title    = __('Blogger Blogs');
    201201                $name     = __('Blog Name');
    … …  
    216216                                $value = $authors;
    217217                        $value = esc_attr($value);
    218                         $blogtitle = js_escape( $blog['title'] );
     218                        $blogtitle = esc_js( $blog['title'] );
    219219                        $pdone = isset($blog['posts_done']) ? (int) $blog['posts_done'] : 0;
    220220                        $cdone = isset($blog['comments_done']) ? (int) $blog['comments_done'] : 0;
    … …  
    659659                $mapthis = __('Blogger username');
    660660                $tothis = __('WordPress login');
    661                 $submit = js_escape( __('Save Changes') );
     661                $submit = esc_js( __('Save Changes') );
    662662
    663663                foreach ( $blog['authors'] as $i => $author )
Note: See TracChangeset for help on using the changeset viewer.