Make WordPress Core


Ignore:
Timestamp:
10/31/2011 07:38:46 PM (13 years ago)
Author:
ryan
Message:

Avoid E_STRICT notices. see #18975

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r19033 r19094  
    16221622
    16231623    if ( is_single() || is_page() ) {
    1624         $post = &get_post( $id = 0 );
     1624        $id = 0;
     1625        $post = &get_post( $id );
    16251626
    16261627        if ( comments_open() || pings_open() || $post->comment_count > 0 ) {
Note: See TracChangeset for help on using the changeset viewer.