[wp-trac] [WordPress Trac] #15449: Notice generated in get_category_link function with a category id that does not exist
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 17 17:07:01 UTC 2010
#15449: Notice generated in get_category_link function with a category id that does
not exist
------------------------------+---------------------------------------------
Reporter: kapilchugh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Warnings/Notices | Version: 3.0.1
Severity: normal | Keywords: get_category_link, notice
------------------------------+---------------------------------------------
Changes (by nacin):
* milestone: Awaiting Review => 3.1
Comment:
get_term_link() can return a WP_Error. Before the code was cleaned up in
[15825], it still could have turned WP_Error.
Improving the docs and leaving it at that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15449#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list