Ticket #9502: 9502.diff
| File 9502.diff, 1018 bytes (added by , 17 years ago) |
|---|
-
wp-admin/edit-comments.php
368 368 369 369 <div id="ajax-response"></div> 370 370 371 <?php } elseif ( 'moderated' == $_GET['comment_status'] ) { ?>371 <?php } elseif ( isset($_GET['comment_status']) && 'moderated' == $_GET['comment_status'] ) { ?> 372 372 <p><?php _e('No comments awaiting moderation… yet.') ?></p> 373 373 </form> 374 374 -
wp-includes/post.php
983 983 984 984 $count = $wpdb->get_results( $wpdb->prepare( $query, $type ), ARRAY_A ); 985 985 986 $stats = array( );986 $stats = array( 'publish' => 0, 'private' => 0, 'draft' => 0, 'pending' => 0, 'future' => 0 ); 987 987 foreach( (array) $count as $row_num => $row ) { 988 988 $stats[$row['post_status']] = $row['num_posts']; 989 989 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)