Make WordPress Core


Ignore:
Timestamp:
01/29/2009 05:46:48 PM (16 years ago)
Author:
ryan
Message:

Add missing preg delimiters. Props ridgerunner. fixes #8986 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/class-phpmailer.php

    r8801 r10460  
    14101410  function EncodeQ ($str, $position = 'text') {
    14111411    /* There should not be any EOL in the string */
    1412     $encoded = preg_replace("[\r\n]", '', $str);
     1412    $encoded = preg_replace("/[\r\n]/", '', $str);
    14131413
    14141414    switch (strtolower($position)) {
Note: See TracChangeset for help on using the changeset viewer.