WordPress.org

Make WordPress Core

Changeset 12596


Ignore:
Timestamp:
01/02/2010 05:16:26 PM (10 years ago)
Author:
westi
Message:

Fix a notice when replying to comments in the admin.

File:
1 edited

Legend:

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

    r12590 r12596  
    22642264                        $pending_comments = absint( $_comment_pending_count[$post->ID] );
    22652265                    } else {
    2266                         $_comment_pending_count_temp = (array) get_pending_comments_num( array( $post->ID ) );
    2267                         $pending_comments = $_comment_pending_count[$post->ID] = $_comment_pending_count_temp[$post->ID];
     2266                        $_comment_pending_count_temp = get_pending_comments_num( array( $post->ID ) );
     2267                        $pending_comments = $_comment_pending_count[$post->ID] = $_comment_pending_count_temp;
    22682268                    }
    22692269                    if ( $user_can ) {
Note: See TracChangeset for help on using the changeset viewer.