[wp-trac] [WordPress Trac] #32876: Wrong data type for term taxonomy ID variable
WordPress Trac
noreply at wordpress.org
Fri Jul 3 12:10:59 UTC 2015
#32876: Wrong data type for term taxonomy ID variable
--------------------------+-----------------------------
Reporter: ipm-frommen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
In `wp_update_term()`, there is a variable `$tt_id` that will be passed to
looots of functions, and every single function is expecting an `int` here.
Due to `$wpdb->get_var()`, however, the variable is of type `string`.
I'm pretty sure there are several other similar incidents, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32876>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list