WordPress.org

Make WordPress Core

Changeset 18679


Ignore:
Timestamp:
09/15/2011 10:43:22 AM (10 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r18677 r18679  
    526526            $cache = array();
    527527
    528             if ( ! isset( $args['widget_id'] ) )
     528        if ( ! isset( $args['widget_id'] ) )
    529529            $args['widget_id'] = $this->id;
    530530
    531         if ( false && isset( $cache[ $args['widget_id'] ] ) ) {
     531        if ( isset( $cache[ $args['widget_id'] ] ) ) {
    532532            echo $cache[ $args['widget_id'] ];
    533533            return;
     
    635635            $args['widget_id'] = $this->id;
    636636
    637         if ( false && isset( $cache[ $args['widget_id'] ] ) ) {
     637        if ( isset( $cache[ $args['widget_id'] ] ) ) {
    638638            echo $cache[ $args['widget_id'] ];
    639639            return;
Note: See TracChangeset for help on using the changeset viewer.