Make WordPress Core


Ignore:
Timestamp:
06/16/2015 08:00:15 PM (8 years ago)
Author:
wonderboymusic
Message:

if is a statment, not a function.

See #32444.

File:
1 edited

Legend:

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

    r32762 r32800  
    461461 *
    462462 * @property string $page_template
    463  * 
     463 *
    464464 * @property-read array  $ancestors
    465465 * @property-read int    $post_category
     
    32953295                $post_status = 'future';
    32963296            }
    3297         } elseif( 'future' == $post_status ) {
     3297        } elseif ( 'future' == $post_status ) {
    32983298            $now = gmdate('Y-m-d H:i:59');
    32993299            if ( mysql2date('U', $post_date_gmt, false) <= mysql2date('U', $now, false) ) {
Note: See TracChangeset for help on using the changeset viewer.