Ticket #24803: 24803.3.diff
File 24803.3.diff, 395 bytes (added by , 12 years ago) |
---|
-
wp-includes/post.php
2042 2042 function wp_count_posts( $type = 'post', $perm = '' ) { 2043 2043 global $wpdb; 2044 2044 2045 if ( ! post_type_exists( $type ) ) 2046 return new stdClass; 2047 2045 2048 $user = wp_get_current_user(); 2046 2049 2047 2050 $cache_key = $type;