Changeset 8915
- Timestamp:
- 06/04/2019 07:05:21 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/themes-api.php
r1392 r8915 15 15 wp_cache_add_global_groups( $cache_group ); 16 16 17 wp_cache_set( "themeid:{$slug}", $post_id, $cache_group ); 18 wp_cache_set( "themevers:{$slug}", $current_version, $cache_group ); 17 $theme_meta = array( 18 'current_version' => $current_version, 19 'requires' => wporg_themes_get_version_meta( $post_id, '_requires', $current_version ), 20 'requires_php' => wporg_themes_get_version_meta( $post_id, '_requires_php', $current_version ), 21 ); 22 23 wp_cache_set( $slug, $theme_meta, $cache_group ); 19 24 } 20 25 add_action( 'wporg_themes_update_version_live', 'wporg_themes_update_check', 10, 2 );
Note: See TracChangeset
for help on using the changeset viewer.