Changeset 40803
- Timestamp:
- 05/19/2017 07:13:59 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r40802 r40803 982 982 983 983 $locale = get_user_locale(); 984 $cache_key = 'dash_ ' . md5( $widget_id . '_' . $locale );984 $cache_key = 'dash_v2_' . md5( $widget_id . '_' . $locale ); 985 985 if ( false !== ( $output = get_transient( $cache_key ) ) ) { 986 986 echo $output; … … 1064 1064 update_option( 'dashboard_widget_options', $widget_options ); 1065 1065 $locale = get_user_locale(); 1066 $cache_key = 'dash_ ' . md5( $widget_id . '_' . $locale );1066 $cache_key = 'dash_v2_' . md5( $widget_id . '_' . $locale ); 1067 1067 delete_transient( $cache_key ); 1068 1068 } -
trunk/src/wp-admin/includes/upgrade.php
r40773 r40803 565 565 if ( $wp_current_db_version < 37965 ) 566 566 upgrade_460(); 567 568 if ( $wp_current_db_version < 40607 ) {569 upgrade_480();570 }571 567 572 568 maybe_disable_link_manager(); … … 1738 1734 1739 1735 /** 1740 * Executes changes made in WordPress 4.8.0.1741 *1742 * @ignore1743 * @since 4.8.01744 *1745 * @global int $wp_current_db_version Current database version.1746 */1747 function upgrade_480() {1748 global $wp_current_db_version;1749 1750 if ( $wp_current_db_version < 40607 ) {1751 // This feature plugin was merged for #40702, so the plugin itself is no longer needed1752 deactivate_plugins( array( 'nearby-wp-events/nearby-wordpress-events.php' ), true );1753 1754 // The markup stored in this transient changed for #407021755 delete_transient( 'dash_' . md5( 'dashboard_primary' . '_' . get_locale() ) );1756 }1757 }1758 1759 /**1760 1736 * Executes network-level upgrade routines. 1761 1737 * -
trunk/src/wp-includes/version.php
r40773 r40803 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 40607;14 $wp_db_version = 38590; 15 15 16 16 /**
Note: See TracChangeset
for help on using the changeset viewer.