WordPress.org

Make WordPress Core

Changeset 3824


Ignore:
Timestamp:
06/01/2006 07:42:46 AM (14 years ago)
Author:
ryan
Message:

intval cat ID

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/query.php

    r3791 r3824  
    711711            $in_cats = $out_cats = '';
    712712            foreach ( $cat_array as $cat ) {
     713                $cat = intval($cat);
    713714                $in = strstr($cat, '-') ? false : true;
    714715                $cat = trim($cat, '-');
Note: See TracChangeset for help on using the changeset viewer.