* 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. Built from https://develop.svn.wordpress.org/trunk@36366 git-svn-id: http://core.svn.wordpress.org/trunk@36333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
42 KiB
42 KiB