Changeset 6802

Show
Ignore:
Timestamp:
02/13/08 06:39:45 (7 months ago)
Author:
ryan
Message:

Fix variable name typo. Props reinkim. fixes #5834

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/comment-template.php

    r6777 r6802  
    583583 * @return bool True if pings are accepted 
    584584 */ 
    585 function pings_open( $post_id=NULL ) { 
     585function pings_open( $post_id = NULL ) { 
    586586 
    587587    $_post = get_post($post_id); 
    588588 
    589     $open = ( 'open' == $post->ping_status ); 
     589    $open = ( 'open' == $_post->ping_status ); 
    590590    return apply_filters( 'pings_open', $open, $post_id ); 
    591591}