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-includes/post.php

    r11222 r11245  
    906906        $value = esc_attr($value);
    907907    else if ( 'js' == $context )
    908         $value = js_escape($value);
     908        $value = esc_js($value);
    909909
    910910    return $value;
Note: See TracChangeset for help on using the changeset viewer.