Changeset 28724
- Timestamp:
- 06/10/2014 06:45:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r28723 r28724 3878 3878 if ( empty( $spaces ) ) { 3879 3879 /** 3880 * Regexp for common whitespace characters.3880 * Filter the regexp for common whitespace characters. 3881 3881 * 3882 * This string is substituted for the \s sequence as needed in regular expressions. 3883 * For websites not written in English, different characters may represent whitespace. 3884 * For websites not encoded in UTF-8, the 0xC2 0xA0 sequence may not be in use. 3882 * This string is substituted for the \s sequence as needed in regular 3883 * expressions. For websites not written in English, different characters 3884 * may represent whitespace. For websites not encoded in UTF-8, the 0xC2 0xA0 3885 * sequence may not be in use. 3885 3886 * 3886 3887 * @since 4.0.0 3887 3888 * 3888 * @param string $spaces 3889 * @param string $spaces Regexp pattern for matching common whitespace characters. 3889 3890 */ 3890 3891 $spaces = apply_filters( 'wp_spaces_regexp', '[\r\n\t ]|\xC2\xA0| ' );
Note: See TracChangeset
for help on using the changeset viewer.