Changes between Version 1 and Version 2 of Ticket #14892, comment 12
- Timestamp:
- 01/08/2011 06:52:39 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14892, comment 12
v1 v2 5 5 parses categories differently than tags/tax, the logic that was added for this in line 1695 is as follows: [[BR]] 6 6 7 $q ['category__in'] = array_unique( $q['category__in'] );[[BR]]7 $q!['category__in'] = array_unique( $q!['category__in'] );[[BR]] 8 8 9 9 Which seems to be different than the one in [15626], in that the one in [15626] casts as an array and then traverses and casts the values of the array as ints: 10 $qv ['category__in'] = array_map('absint', (array) $qv['category__in']); [[BR]]10 $qv!['category__in'] = array_map('absint', (array) $qv!['category__in']); [[BR]] 11 11 12 12