Ticket #35382: 35382.patch
File 35382.patch, 481 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/taxonomy.php
1548 1548 } 1549 1549 1550 1550 if ( $number && is_array( $terms ) && count( $terms ) > $number ) { 1551 $terms = array_slice( $terms, $offset, $number );1551 $terms = array_slice( $terms, $offset, $number, true ); 1552 1552 } 1553 1553 1554 1554 wp_cache_add( $cache_key, $terms, 'terms', DAY_IN_SECONDS );