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

WordPress Trac noreply at wordpress.org
Wed Aug 12 12:29:43 UTC 2015


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

Comment (by Chouby):

 I tested 30261.6.diff and there is still a problem when upgrading from an
 older version (ex: 4.0):
 {{{
         if ( $current_db_version < 30133 && ! defined( 'WP_INSTALLING' ) )
 {
                 return $term_id;
         }
 }}}
 Since WP_INSTALLING is no more defined when splitting all terms, the test
 above is passed and thus terms are not splitted (and the '_split_terms'
 option is updated with wrong values).

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


More information about the wp-trac mailing list