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:
parent
321e31c58b
commit
a8f99a3d72
|
@ -525,10 +525,10 @@ class WP_Widget_Recent_Posts extends WP_Widget {
|
||||||
if ( !is_array($cache) )
|
if ( !is_array($cache) )
|
||||||
$cache = array();
|
$cache = array();
|
||||||
|
|
||||||
if ( ! isset( $args['widget_id'] ) )
|
if ( ! isset( $args['widget_id'] ) )
|
||||||
$args['widget_id'] = $this->id;
|
$args['widget_id'] = $this->id;
|
||||||
|
|
||||||
if ( false && isset( $cache[ $args['widget_id'] ] ) ) {
|
if ( isset( $cache[ $args['widget_id'] ] ) ) {
|
||||||
echo $cache[ $args['widget_id'] ];
|
echo $cache[ $args['widget_id'] ];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -634,7 +634,7 @@ class WP_Widget_Recent_Comments extends WP_Widget {
|
||||||
if ( ! isset( $args['widget_id'] ) )
|
if ( ! isset( $args['widget_id'] ) )
|
||||||
$args['widget_id'] = $this->id;
|
$args['widget_id'] = $this->id;
|
||||||
|
|
||||||
if ( false && isset( $cache[ $args['widget_id'] ] ) ) {
|
if ( isset( $cache[ $args['widget_id'] ] ) ) {
|
||||||
echo $cache[ $args['widget_id'] ];
|
echo $cache[ $args['widget_id'] ];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue