get_post_format() can throw PHP notice and doesn't return WP_Error
|Reported by:||azaozz||Owned by:||nacin|
The function get_post_format() part of the post formats API throws a PHP notice when called with non-existing post_ID. It also doesn't return WP_Error although most uses in core expect that.
Change History (19)
Note: See TracTickets for help on using tickets.