Make WordPress Core


Ignore:
Timestamp:
01/22/2013 03:52:13 PM (11 years ago)
Author:
ryan
Message:

Avoid the appearance of a magic number.

Props nacin
see #23167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r23319 r23320  
    36543654    $last_changed = wp_cache_get( 'last_changed', 'posts' );
    36553655    if ( ! $last_changed ) {
    3656         wp_cache_set( 'last_changed', 1, 'posts' );
    36573656        $last_changed = 1;
     3657        wp_cache_set( 'last_changed', $last_changed, 'posts' );
    36583658    }
    36593659
Note: See TracChangeset for help on using the changeset viewer.