[wp-trac] [WordPress Trac] #32876: Wrong data type for term taxonomy ID variable

WordPress Trac noreply at wordpress.org
Sun Jul 12 22:54:07 UTC 2015


#32876: Wrong data type for term taxonomy ID variable
-------------------------------------------------+-------------------------
 Reporter:  ipm-frommen                          |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Taxonomy                             |  Review
 Severity:  normal                               |     Version:  2.3
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  has-patch => has-patch needs-testing 2nd-opinion
 * version:   => 2.3


Comment:

 There is a chance of some breakage here, mainly around plugins which might
 expect the `term_taxonomy_id` element in the return value of
 `wp_update_term()` to be a numerical string (ie. it might break some code
 which is subsequently performing a strict check).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32876#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list