wordpress-develop/tests/phpunit/tests/theme
Jeremy Felt 77f8c5fc07 Themes: Enhance filtering options for allowed themes on a network.
* Move the legacy `allowed_themes` filter to `WP_Theme::get_allowed_on_network()`, where it will continue to filter themes allowed on the network.
* Add `network_allowed_themes` filter to `WP_Theme::get_allowed()` and pass `$blog_id` to provide context.
* Add `site_allowed_themes` filter to `WP_Theme::get_allowed_on_site()` and pass `$blog_id` to provide context.

Props pauldewouters, lamosty, michalzuber, dmsnell, johnnypea, rob.
Fixes #28436.


git-svn-id: https://develop.svn.wordpress.org/trunk@36366 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-20 18:28:33 +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 Fix copy/paste error in [27710]. 2014-04-02 23:46:34 +00:00