WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20004, comment 2


Ignore:
Timestamp:
02/09/2012 10:34:45 PM (6 years ago)
Author:
andy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20004, comment 2

    initial v1  
    44{{{
    55$value = wp_cache_get( $key, $group );
    6 if ( ! $value || ( function_exists( 'wp_cache_found' ) && ! wp_cache_found() ) ) {
     6if ( ! $value && ( function_exists( 'wp_cache_found' ) && ! wp_cache_found() ) ) {
    77    $value = $wpdb->get_results( $query );
    88    wp_cache_set( $key, $value, $group );