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

WordPress Trac noreply at wordpress.org
Wed Aug 19 14:55:27 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:
-------------------------------------------------+-------------------------

Comment (by ipm-frommen):

 What's the status here?

 In my opinion, you just have to decide which way to go. Either change the
 PHPDoc comment to indicate `$ttid` being a `string` (which is the
 ''wrong'' decision, if you ask me), or apply the patch (and thus cast the
 `string` to an `int`).

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


More information about the wp-trac mailing list