WordPress/wp-includes
Konstantin Obenland 1e9372b699 Themes: Get the correct theme when template and stylesheet were both passed as arguments.
Fixes a bug where `$new_theme` got set before the second argument was
appropriately handled, causing the `current_theme` option to later always be
updated to the parent theme's name.

Introduced in [21131].

Props obenland, wonderboymusic.
Fixes #32635.


Built from https://develop.svn.wordpress.org/trunk@33815


git-svn-id: http://core.svn.wordpress.org/trunk@33783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-30 21:45:23 +00:00
..
2015-07-23 10:03:24 +00:00
2015-06-28 00:17:25 +00:00
2015-08-25 12:13:23 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-08-17 21:39:25 +00:00
2015-08-25 12:13:23 +00:00
2015-06-16 20:01:25 +00:00
2015-05-26 21:51:31 +00:00