[wp-trac] [WordPress Trac] #28692: Polluted table_prefix and switched_stack in multisite unit tests

WordPress Trac noreply at wordpress.org
Mon Jun 30 17:30:37 UTC 2014


#28692: Polluted table_prefix and switched_stack in multisite unit tests
------------------------------+------------------------
 Reporter:  jeremyfelt        |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  multisite
------------------------------+------------------------

Comment (by jeremyfelt):

 [https://core.trac.wordpress.org/attachment/ticket/28692/28692.2.diff
 28692.2.diff] wraps `ms_is_switched()` with an `is_multisite()` check so
 that our regular unit tests aren't completely broken due to a non-existent
 function.

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


More information about the wp-trac mailing list