[wp-trac] [WordPress Trac] #33206: Ignore the sitecategories table during network update if global terms are not enabled

WordPress Trac noreply at wordpress.org
Fri Aug 7 00:47:45 UTC 2015


#33206: Ignore the sitecategories table during network update if global terms are
not enabled
-----------------------------+-----------------------
 Reporter:  nofearinc        |       Owner:  dd32
     Type:  defect (bug)     |      Status:  assigned
 Priority:  low              |   Milestone:  4.3
Component:  Upgrade/Install  |     Version:  4.2
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------

Comment (by pento):

 The disconnect between the setting and the existence of the table is
 slightly off-putting, but we'd have the same thing if we tried to check
 the setting, instead. With that in mind, I think checking for the table's
 existence is the more correct option for WPDB.

 I don't think we have any global terms unit tests. It'd be nice to add a
 simple test for this, but it's probably the least of our concerns if we
 really wanted to test global terms.

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


More information about the wp-trac mailing list