Changeset 13076 for trunk/wp-includes/formatting.php
- Timestamp:
- 02/13/2010 02:54:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r12957 r13076 2301 2301 * Escape single quotes, htmlspecialchar " < > &, and fix line endings. 2302 2302 * 2303 * Escapes text strings for echoing in JS , both inline (for example in onclick="...")2304 * and inside <script> tag. Note that the strings have to be in single quotes.2305 * The filter 'js_escape' is also applied here.2303 * Escapes text strings for echoing in JS. It is intended to be used for inline JS 2304 * (in a tag attribute, for example onclick="..."). Note that the strings have to 2305 * be in single quotes. The filter 'js_escape' is also applied here. 2306 2306 * 2307 2307 * @since 2.8.0
Note: See TracChangeset
for help on using the changeset viewer.