diff --git a/wp-admin/includes/class-wp-screen.php b/wp-admin/includes/class-wp-screen.php index 13d59dc981..398bb07386 100644 --- a/wp-admin/includes/class-wp-screen.php +++ b/wp-admin/includes/class-wp-screen.php @@ -1194,6 +1194,13 @@ final class WP_Screen { * @since 4.4.0 */ public function render_view_mode() { + $screen = get_current_screen(); + + // Currently only enabled for posts lists + if ( 'edit' !== $screen->base ) { + return; + } + /** * Filter the post types that have different view mode options. * diff --git a/wp-includes/version.php b/wp-includes/version.php index fbc4a520df..f3a8a41bc0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35460'; +$wp_version = '4.4-beta2-35461'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.