WordPress.org

Make WordPress Core

Ticket #41035: 41035.patch

File 41035.patch, 458 bytes (added by chandrapatel, 2 years ago)

Initial patch

  • src/wp-includes/taxonomy.php

     
    22352235                        $term_info = wp_insert_term($term, $taxonomy);
    22362236                }
    22372237                if ( is_wp_error($term_info) )
    2238                         return $term_info;
     2238                        continue;
    22392239                $term_ids[] = $term_info['term_id'];
    22402240                $tt_id = $term_info['term_taxonomy_id'];
    22412241                $tt_ids[] = $tt_id;