Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage

git-svn-id: https://develop.svn.wordpress.org/trunk@18679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-09-15 10:43:22 +00:00
parent 321e31c58b
commit a8f99a3d72
1 changed files with 3 additions and 3 deletions

View File

@ -525,10 +525,10 @@ class WP_Widget_Recent_Posts extends WP_Widget {
if ( !is_array($cache) )
$cache = array();
if ( ! isset( $args['widget_id'] ) )
if ( ! isset( $args['widget_id'] ) )
$args['widget_id'] = $this->id;
if ( false && isset( $cache[ $args['widget_id'] ] ) ) {
if ( isset( $cache[ $args['widget_id'] ] ) ) {
echo $cache[ $args['widget_id'] ];
return;
}
@ -634,7 +634,7 @@ class WP_Widget_Recent_Comments extends WP_Widget {
if ( ! isset( $args['widget_id'] ) )
$args['widget_id'] = $this->id;
if ( false && isset( $cache[ $args['widget_id'] ] ) ) {
if ( isset( $cache[ $args['widget_id'] ] ) ) {
echo $cache[ $args['widget_id'] ];
return;
}