Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-scripts.php

    r11058 r11245  
    6161                                continue;
    6262                        }
    63                         $data .= "$eol\t$var: \"" . js_escape( $val ) . '"';
     63                        $data .= "$eol\t$var: \"" . esc_js( $val ) . '"';
    6464                        $eol = ",\n";
    6565                }
Note: See TracChangeset for help on using the changeset viewer.