Changes between Initial Version and Version 3 of Ticket #14892
- Timestamp:
- 09/17/2010 10:09:54 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14892 – Description
initial v3 2 2 3 3 If I may suggest changing lines 1371-1372 in /wp-includes/query.php to this: 4 5 {{{ 4 6 if ( !is_array($qv['category__in']) || empty($qv['category__in']) ) { 5 7 if (is_long($qv['category__in']) || is_int($qv['category__in'])){ … … 8 10 $qv['category__in'] = array(); 9 11 } 12 }}} 10 13 11 14 I would in the same vein implement the change for category__not_in 15 16 {{{ 12 17 if ( !is_array($qv['category__not_in']) || empty($qv['category__not_in']) ) { 13 18 if (is_long($qv['category__not_in']) || is_int($qv['category__not_in'])){ … … 16 21 $qv['category__not_in'] = array(); 17 22 } 23 }}} 18 24 19 25 I would also suggest implementing for tag__in and etc etc