Changeset 37543 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 05/23/2016 07:00:41 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r37515 r37543 21 21 * Code within certain html blocks are skipped. 22 22 * 23 * Do not use this function before the 'init'action hook; everything will break.23 * Do not use this function before the {@see 'init'} action hook; everything will break. 24 24 * 25 25 * @since 0.71 … … 1442 1442 * alphanumeric, _, space, ., -, @. After sanitizing, it passes the username, 1443 1443 * raw username (the username in the parameter), and the value of $strict as 1444 * parameters for the 'sanitize_user'filter.1444 * parameters for the {@see 'sanitize_user'} filter. 1445 1445 * 1446 1446 * @since 2.0.0 … … 1905 1905 * 1906 1906 * The $content is run through esc_textarea(), which uses htmlspecialchars() 1907 * to convert special characters to HTML entities. If $richeditis set to true,1908 * it is simply a holder for the 'format_to_edit'filter.1907 * to convert special characters to HTML entities. If `$richedit` is set to true, 1908 * it is simply a holder for the {@see 'format_to_edit'} filter. 1909 1909 * 1910 1910 * @since 0.71 … … 2878 2878 * is less than 55 words, then the content will be returned as is. 2879 2879 * 2880 * The 55 word limit can be modified by plugins/themes using the excerpt_lengthfilter2881 * The ' […]' string can be modified by plugins/themes using the excerpt_morefilter2880 * The 55 word limit can be modified by plugins/themes using the {@see 'excerpt_length'} filter 2881 * The ' […]' string can be modified by plugins/themes using the {@see 'excerpt_more'} filter 2882 2882 * 2883 2883 * @since 1.5.0 … … 3354 3354 * 3355 3355 * A number of characters are removed from the URL. If the URL is for displaying 3356 * (the default behaviour) ampersands are also replaced. The 'clean_url'filter3356 * (the default behaviour) ampersands are also replaced. The {@see 'clean_url'} filter 3357 3357 * is applied to the returned cleaned URL. 3358 3358 * … … 3363 3363 * Defaults to return value of wp_allowed_protocols() 3364 3364 * @param string $_context Private. Use esc_url_raw() for database usage. 3365 * @return string The cleaned $url after the 'clean_url'filter is applied.3365 * @return string The cleaned $url after the {@see 'clean_url'} filter is applied. 3366 3366 */ 3367 3367 function esc_url( $url, $protocols = null, $_context = 'display' ) { … … 3492 3492 * Escapes text strings for echoing in JS. It is intended to be used for inline JS 3493 3493 * (in a tag attribute, for example onclick="..."). Note that the strings have to 3494 * be in single quotes. The filter 'js_escape'is also applied here.3494 * be in single quotes. The {@see 'js_escape'} filter is also applied here. 3495 3495 * 3496 3496 * @since 2.8.0
Note: See TracChangeset
for help on using the changeset viewer.