[wp-trac] [WordPress Trac] #30261: Split all existing shared taxonomy terms on WP upgrade

WordPress Trac noreply at wordpress.org
Sun Aug 9 09:05:00 UTC 2015


#30261: Split all existing shared taxonomy terms on WP upgrade
-------------------------------------+---------------------------
 Reporter:  boonebgorges             |       Owner:  boonebgorges
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.3
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------
Changes (by Chouby):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 I'd like to reopen this ticket as terms are not splitted when upgrading
 from an old WP version. Let's assume that we are upgrading from WP 4.0
 (db_version: 29630), _split_shared_term bails at

 {{{
         if ( $current_db_version < 30133 ) {
                 return $term_id;
         }
 }}}
 The db version is then updated and there will be no other attempt to
 execute split_all_shared_terms.

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


More information about the wp-trac mailing list