[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:03:51 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 nacin):
WP_Error might be better but this function has existed around too long,
and it doesn't fail hard enough to justify a new return type.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24803#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list