Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r10339 r10459  
    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.