[wp-trac] [WordPress Trac] #31550: Use an empty theme for WP_DEFAULT_THEME during unit tests

WordPress Trac noreply at wordpress.org
Thu Nov 3 19:41:12 UTC 2016


#31550: Use an empty theme for WP_DEFAULT_THEME during unit tests
------------------------------+---------------------
 Reporter:  westonruter       |       Owner:  pento
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by swissspidy):

 Still getting some `_doing_it_wrong()` notices (at least locally) when
 running multisite tests and https://wordpress.org/themes/default/ is
 installed in ⁠⁠⁠⁠`wp-content/themes⁠⁠⁠⁠`. Not sure how big of an issue
 this is, but I thought I'd mention it here.

 > Notice: register_sidebar was called <strong>incorrectly</strong>. No
 <code>id</code> was set in the arguments array for the "Sidebar 1"
 sidebar. Defaulting to "sidebar-1".

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


More information about the wp-trac mailing list