Changeset 46810
- Timestamp:
- 12/02/2019 02:47:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r46290 r46810 1287 1287 _deprecated_function( __FUNCTION__, '4.0.0', 'get_terms()' ); 1288 1288 1289 if ( ! $cat_ids = wp_cache_get( 'all_category_ids', 'category' ) ) { 1290 $cat_ids = get_terms( 1291 array( 1292 'taxonomy' => 'category', 1293 'fields' => 'ids', 1294 'get' => 'all', 1295 ) 1296 ); 1297 wp_cache_add( 'all_category_ids', $cat_ids, 'category' ); 1298 } 1289 $cat_ids = get_terms( 1290 array( 1291 'taxonomy' => 'category', 1292 'fields' => 'ids', 1293 'get' => 'all', 1294 ) 1295 ); 1299 1296 1300 1297 return $cat_ids;
Note: See TracChangeset
for help on using the changeset viewer.