Making WordPress.org


Ignore:
Timestamp:
06/22/2016 03:11:37 PM (10 years ago)
Author:
dd32
Message:

Plugin Directory: Remove some debug cruft.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php

    r3550 r3554  
    143143                $cache_key = $this->query_plugins_cache_key( $request );
    144144
    145                 if ( true || false === ( $response = wp_cache_get( $cache_key, self::CACHE_GROUP ) ) ) {
     145                if ( false === ( $response = wp_cache_get( $cache_key, self::CACHE_GROUP ) ) ) {
    146146                        $response = $this->internal_rest_api_call( 'plugins/v1/query-plugins', $request->query_plugins_params_for_query() );
    147147                        if ( 200 != $response->status ) {
Note: See TracChangeset for help on using the changeset viewer.