[wp-trac] [WordPress Trac] #39693: Fix missing assignment of widgets on theme switch
WordPress Trac
noreply at wordpress.org
Thu Aug 17 19:17:31 UTC 2017
#39693: Fix missing assignment of widgets on theme switch
-------------------------------------------------+-------------------------
Reporter: melchoyce | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by alexvorn2):
Replying to [comment:60 obenland]:
> @alexvorn2 Could you test with [attachment:39693.2.diff] and see if you
can still replicate #40177?
I get some warnings after theme install:
{{{
Warning: array_merge() expects at least 1 parameter, 0 given in
D:\Dropbox\htdocs\wordpresslastmu\wp-includes\widgets.php on line 1149
Warning: array_diff(): Argument #2 is not an array in
D:\Dropbox\htdocs\wordpresslastmu\wp-includes\widgets.php on line 1150
Warning: Invalid argument supplied for foreach() in
D:\Dropbox\htdocs\wordpresslastmu\wp-includes\widgets.php on line 1152
Warning: array_merge(): Argument #1 is not an array in
D:\Dropbox\htdocs\wordpresslastmu\wp-includes\widgets.php on line 1159
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39693#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list