Changeset 6651 for trunk/wp-includes/category.php
- Timestamp:
- 01/25/2008 01:19:53 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category.php
r6364 r6651 128 128 129 129 function &get_tags($args = '') { 130 $key = md5( serialize( $args ) );131 if ( $cache = wp_cache_get( 'get_tags', 'category' ) )132 if ( isset( $cache[ $key ] ) )133 return apply_filters('get_tags', $cache[$key], $args);134 135 136 130 $tags = get_terms('post_tag', $args); 137 131 … … 140 134 141 135 $cache[ $key ] = $tags; 142 wp_cache_set( 'get_tags', $cache, 'category' );143 136 144 137 $tags = apply_filters('get_tags', $tags, $args);
Note: See TracChangeset
for help on using the changeset viewer.