[wp-trac] Re: [WordPress Trac] #5381: type mismatch between is_term
and get_term_by
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 23 17:24:42 GMT 2007
#5381: type mismatch between is_term and get_term_by
------------------------+---------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by ryan):
Overloading was a mistake, but here we are. Part of the problem is that
we changed sanitize_term() to return immediately for the raw context. It
should probably do int casts for the IDs before returning.
--
Ticket URL: <http://trac.wordpress.org/ticket/5381#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list