[wp-trac] [WordPress Trac] #17646: wp_get_object_terms should return arrays of integers for IDs and tt_IDs

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 2 02:34:00 UTC 2011


#17646: wp_get_object_terms should return arrays of integers for IDs and tt_IDs
---------------------------+------------------------------
 Reporter:  simonwheatley  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Taxonomy       |     Version:  3.2
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+------------------------------

Comment (by dd32):

 I should mention, that the patch reverts [6321] (part of #5325) as can be
 seen by the commented out code, sanitize_term_field was written to short-
 circuit itself after int'ing resulting in that addition not helping as
 much as it would've for posts, also resulting in string fields rather than
 int fields in more places.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17646#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list