[wp-trac] [WordPress Trac] #29859: get_terms on hierarchical taxonomy fails when 'fields' arg contains 'id=>name' OR 'id=>slug'

WordPress Trac noreply at wordpress.org
Mon Oct 6 21:14:30 UTC 2014


#29859: get_terms on hierarchical taxonomy fails when 'fields' arg contains
'id=>name' OR 'id=>slug'
-------------------------------------------------+-------------------------
 Reporter:  technical_mastermind                 |       Owner:
     Type:  defect (bug)                         |  boonebgorges
 Priority:  normal                               |      Status:  accepted
Component:  Taxonomy                             |   Milestone:  4.1
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-unit-tests has-patch reporter-   |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 Replying to [comment:6 SergeyBiryukov]:
 > Replying to [comment:5 boonebgorges]:
 > > The duplicated setup code required by the split tests is a bit
 annoying
 >
 > Can we move it into a separate private function?

 Yes. [attachment:29859.2.patch]

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


More information about the wp-trac mailing list