[wp-trac] [WordPress Trac] #28488: get_post_type_object on CPT in _count_posts_cache_key after a wp_insert_post returns null

WordPress Trac noreply at wordpress.org
Sun Aug 17 18:59:47 UTC 2014


#28488: get_post_type_object on CPT in _count_posts_cache_key after a
wp_insert_post returns null
--------------------------+------------------------------
 Reporter:  barrykooij    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ocean90):

 `_count_posts_cache_key()` is fixed with [29318]. Seems like only
 `wp_count_posts()` is missing.

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


More information about the wp-trac mailing list