[wp-trac] [WordPress Trac] #27133: Redundant type casting in wp_get_object_terms

WordPress Trac noreply at wordpress.org
Sat Feb 15 16:46:35 UTC 2014


#27133: Redundant type casting in wp_get_object_terms
-------------------------+-----------------------------
 Reporter:  OriginalEXE  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Taxonomy     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 In wp_get_object_terms function (taxonomy.php), there is a redundant type
 casting to array after is_array() check has already been performed on that
 variable.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27133>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list