mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
View mode is only a screen option for posts lists.
see #22222. Built from https://develop.svn.wordpress.org/trunk@35461 git-svn-id: http://core.svn.wordpress.org/trunk@35425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
263b2890d4
commit
c69d749c75
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user