mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1429,7 +1429,7 @@ function wp_count_posts( $type = 'post', $perm = '' ) {
|
||||
foreach ( get_post_stati() as $state )
|
||||
$stats[$state] = 0;
|
||||
|
||||
foreach ( (array) $count as $row_num => $row )
|
||||
foreach ( (array) $count as $row )
|
||||
$stats[$row['post_status']] = $row['num_posts'];
|
||||
|
||||
$stats = (object) $stats;
|
||||
|
||||
Reference in New Issue
Block a user