Editor: Hide visibility and status settings for wp_navigation post type.

Adds CSS to hide both the visibility and status settings for the `wp_navigation` post type.

Props antonvlasenko , costdev. 
Fixes #54407.
Built from https://develop.svn.wordpress.org/trunk@52293


git-svn-id: http://core.svn.wordpress.org/trunk@51885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
hellofromTonya 2021-11-30 21:01:02 +00:00
parent 9ede1fe55b
commit 2b2313d56b
5 changed files with 13 additions and 3 deletions

View File

@ -147,6 +147,11 @@ body.post-new-php .submitbox .submitdelete {
margin-top: 3px;
}
body.post-type-wp_navigation div#minor-publishing,
body.post-type-wp_navigation .inline-edit-status {
display: none;
}
/* Post Screen */
/* Only highlight drop zones when dragging and only in the 2 columns layout. */

File diff suppressed because one or more lines are too long

View File

@ -146,6 +146,11 @@ body.post-new-php .submitbox .submitdelete {
margin-top: 3px;
}
body.post-type-wp_navigation div#minor-publishing,
body.post-type-wp_navigation .inline-edit-status {
display: none;
}
/* Post Screen */
/* Only highlight drop zones when dragging and only in the 2 columns layout. */

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-52292';
$wp_version = '5.9-alpha-52293';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.