Changeset 10904 for trunk/wp-includes/post.php
- Timestamp:
- 04/10/2009 04:34:44 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r10858 r10904 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'];
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)