[wp-trac] [WordPress Trac] #35603: Allow `wp_count_posts()` on multisite after switching sites

WordPress Trac noreply at wordpress.org
Mon Feb 1 12:52:48 UTC 2016


#35603: Allow `wp_count_posts()` on multisite after switching sites
----------------------------------------+------------------------------
 Reporter:  flixos90                    |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Posts, Post Types           |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  multisite
----------------------------------------+------------------------------
Changes (by ocean90):

 * keywords:  has-patch => has-patch needs-unit-tests
 * version:  trunk =>
 * type:  defect (bug) => enhancement


Comment:

 Can you tell us your use case for this? Why are you trying to count posts
 of a post type which doesn't exist?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35603#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list