[wp-trac] [WordPress Trac] #39388: Can't delete tags under custom taxonomies

WordPress Trac noreply at wordpress.org
Thu Mar 16 01:15:25 UTC 2017


#39388: Can't delete tags under custom taxonomies
--------------------------+----------------------
 Reporter:  contempoinc   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Taxonomy      |     Version:  4.7
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by boonebgorges):

 * keywords:  reporter-feedback =>
 * status:  reopened => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for confirming.

 I'm not 100% sure what your filter is meant to do, but a simple workaround
 for this specific issue is to refrain from modifying the query if
 'object_ids' is detected:

 {{{
 function beds_terms_order_as_number($order_by, $args, $taxonomies){
     if ( ! empty( $args['object_ids'] ) ) {
         return $order_by;
     }

     // ...
 }}}

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


More information about the wp-trac mailing list