Affirm current credits timeout. see #17759.
git-svn-id: https://develop.svn.wordpress.org/trunk@18393 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
14b1a150b3
commit
19e358a2c5
@ -61,7 +61,7 @@ function wp_credits() {
|
|||||||
if ( ! is_array( $results ) )
|
if ( ! is_array( $results ) )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
set_site_transient( 'wordpress_credits_' . $locale, $results, 86400 ); // @todo Set to one week.
|
set_site_transient( 'wordpress_credits_' . $locale, $results, 86400 ); // One day
|
||||||
}
|
}
|
||||||
|
|
||||||
return $results;
|
return $results;
|
||||||
|
Loading…
Reference in New Issue
Block a user