Place the locale inside the md5 hash in the dashboard RSS feed widget transient key to prevent the transient timeout option name becoming longer than the allowed field size.
Props andg Fixes #32804 Built from https://develop.svn.wordpress.org/trunk@33192 git-svn-id: http://core.svn.wordpress.org/trunk@33164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
72b383b3d4
commit
f3eba1581c
|
@ -877,7 +877,7 @@ function wp_dashboard_cached_rss_widget( $widget_id, $callback, $check_urls = ar
|
|||
}
|
||||
|
||||
$locale = get_locale();
|
||||
$cache_key = 'dash_' . md5( $widget_id ) . '_' . $locale;
|
||||
$cache_key = 'dash_' . md5( $widget_id . '_' . $locale );
|
||||
if ( false !== ( $output = get_transient( $cache_key ) ) ) {
|
||||
echo $output;
|
||||
return true;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-beta2-33191';
|
||||
$wp_version = '4.3-beta2-33192';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue