Changeset 10459
- Timestamp:
- 01/29/2009 05:46:31 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-phpmailer.php
r8801 r10459 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)) { -
trunk/wp-includes/formatting.php
r10398 r10459 1961 1961 */ 1962 1962 function tag_escape($tag_name) { 1963 $safe_tag = strtolower( preg_replace(' [^a-zA-Z_:]', '', $tag_name) );1963 $safe_tag = strtolower( preg_replace('/[^a-zA-Z_:]/', '', $tag_name) ); 1964 1964 return apply_filters('tag_escape', $safe_tag, $tag_name); 1965 1965 } -
trunk/wp-includes/post-template.php
r10339 r10459 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.