[wp-trac] [WordPress Trac] #24803: wp_counts_posts produces a notice if a non existant post type is specified

WordPress Trac noreply at wordpress.org
Sun Jul 28 20:10:32 UTC 2013


#24803: wp_counts_posts produces a notice if a non existant post type is specified
------------------------------+------------------------------
 Reporter:  creativeinfusion  |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Post Types        |     Version:  3.0
 Severity:  trivial           |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------------------

Comment (by johnpbloch):

 Yeah, the second patch returns WP_Error; if we want to do it that way, we
 can just use that patch. :D

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24803#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list