[wp-trac] [WordPress Trac] #38553: Posts Controller handle_terms throws warning

WordPress Trac noreply at wordpress.org
Wed Nov 2 00:47:57 UTC 2016


#38553: Posts Controller handle_terms throws warning
---------------------------------------------+---------------------
 Reporter:  timmydcrawford                   |       Owner:  pento
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7
Component:  REST API                         |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------

Comment (by pento):

 The only difference is that `wp_parse_id_list()` removes duplicates - it's
 not wildly necessary, the MySQL query optimiser will remove them when it
 gets to there, there's certainly no performance difference, it just makes
 for slightly nicer queries.

 I'm not fussed either way.

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


More information about the wp-trac mailing list