Changeset 10460
- Timestamp:
- 01/29/2009 05:46:48 PM (16 years ago)
- Location:
- branches/2.7/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/class-phpmailer.php
r8801 r10460 1410 1410 function EncodeQ ($str, $position = 'text') { 1411 1411 /* There should not be any EOL in the string */ 1412 $encoded = preg_replace(" [\r\n]", '', $str);1412 $encoded = preg_replace("/[\r\n]/", '', $str); 1413 1413 1414 1414 switch (strtolower($position)) { -
branches/2.7/wp-includes/formatting.php
r10399 r10460 1931 1931 */ 1932 1932 function tag_escape($tag_name) { 1933 $safe_tag = strtolower( preg_replace(' [^a-zA-Z_:]', '', $tag_name) );1933 $safe_tag = strtolower( preg_replace('/[^a-zA-Z_:]/', '', $tag_name) ); 1934 1934 return apply_filters('tag_escape', $safe_tag, $tag_name); 1935 1935 } -
branches/2.7/wp-includes/post-template.php
r10392 r10460 608 608 609 609 // sanitize, mostly to keep spaces out 610 $r['exclude'] = preg_replace(' [^0-9,]', '', $r['exclude']);610 $r['exclude'] = preg_replace('/[^0-9,]/', '', $r['exclude']); 611 611 612 612 // Allow plugins to filter an array of excluded pages
Note: See TracChangeset
for help on using the changeset viewer.