Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
git-svn-id: http://svn.automattic.com/wordpress/trunk@18679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b6398d64b
commit
05ea44afea
|
@ -528,7 +528,7 @@ class WP_Widget_Recent_Posts 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;
|
||||||
}
|
}
|
||||||
|
@ -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