Make WordPress Core

Changeset 6802


Ignore:
Timestamp:
02/13/2008 06:39:45 AM (17 years ago)
Author:
ryan
Message:

Fix variable name typo. Props reinkim. fixes #5834

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.