Make WordPress Core

Ticket #7530: 7530-option2.patch

File 7530-option2.patch, 455 bytes (added by so1o, 17 years ago)

Option 2 patch

  • wp-includes/post.php

     
    30003000                return false;
    30013001
    30023002        if ( !is_array($post_ids) ) {
    3003                 $post_ids = preg_replace('|[^0-9,]|', '', $post_ids);
     3003                $post_ids = preg_replace(apply_filters('update_postmeta_cache_regex','|[^0-9,]|'), '', $post_ids);
    30043004                $post_ids = explode(',', $post_ids);
    30053005        }
    30063006