Make WordPress Core


Ignore:
Timestamp:
06/23/2009 10:11:05 PM (13 years ago)
Author:
ryan
Message:

Pass delimiter to preg_quote(). Props Denis-de-Bernardy. see #9955

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-includes/functions.php

    r11598 r11635  
    26832683            $wp_smiliessearch .= '|';
    26842684        }
    2685         $wp_smiliessearch .= preg_quote($rest);
     2685        $wp_smiliessearch .= preg_quote($rest, '/');
    26862686    }
    26872687
Note: See TracChangeset for help on using the changeset viewer.