wordpress-develop/tests/phpunit/tests/theme
Jeremy Felt a56fc1fba0 Multisite: Introduce WP_Theme methods to network enable/disable themes.
* `WP_Theme::network_enable_theme()` can be used to enable a theme or array of themes on a network.
* `WP_Theme::network_disable_theme()` can be used to disable a theme or array of themes on a network.
* Use these new methods in the network admin vs direct `update_site_option()` calls.
* Add tests.

Props igmoweb.
Fixes #30594.


git-svn-id: https://develop.svn.wordpress.org/trunk@37202 602fd350-edb4-49c9-b593-d223f7449a82
2016-04-14 03:39:45 +00:00
..
getAllowedFilters.php Themes: Enhance filtering options for allowed themes on a network. 2016-01-20 18:28:33 +00:00
support.php Clean up 'post-thumbnail' theme support unit tests. 2014-11-01 04:00:59 +00:00
themeDir.php Call untrailingslashit() when adding a theme directory in register_theme_directory(). This prevents double-slashing in generated URLs. Don't add a directory if it is already present. 2014-07-19 23:06:54 +00:00
WPTheme.php Multisite: Introduce WP_Theme methods to network enable/disable themes. 2016-04-14 03:39:45 +00:00