Make WordPress Core


Ignore:
Timestamp:
01/29/2009 05:46:48 PM (15 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/post-template.php

    r10392 r10460  
    608608
    609609    // sanitize, mostly to keep spaces out
    610     $r['exclude'] = preg_replace('[^0-9,]', '', $r['exclude']);
     610    $r['exclude'] = preg_replace('/[^0-9,]/', '', $r['exclude']);
    611611
    612612    // Allow plugins to filter an array of excluded pages
Note: See TracChangeset for help on using the changeset viewer.