[wp-trac] [WordPress Trac] #31914: Remove static variable for global_terms_enable to allow for unit tests

WordPress Trac noreply at wordpress.org
Fri Oct 14 18:42:15 UTC 2022


#31914: Remove static variable for global_terms_enable to allow for unit tests
--------------------------+-------------------------
 Reporter:  jeremyfelt    |       Owner:  jeremyfelt
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Taxonomy      |     Version:  3.0
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  has-patch     |     Focuses:  multisite
--------------------------+-------------------------
Changes (by desrosj):

 * keywords:  has-patch dev-feedback => has-patch
 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 Global terms has officially been deprecated and no-opped in [54240]. As I
 understand it, this is a
 [https://core.trac.wordpress.org/browser/tags/6.0/src/wp-
 includes/functions.php#L6226 suggestion to modify the contents] of
 `global_terms_enabled()`, so I'm closing this as a won't fix.

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


More information about the wp-trac mailing list