[wp-trac] [WordPress Trac] #54407: Move CSS code that hides visibility and status for wp_navigation type posts from Gutenberg to Core

WordPress Trac noreply at wordpress.org
Tue Nov 30 16:30:42 UTC 2021


#54407: Move CSS code that hides visibility and status for wp_navigation type posts
from Gutenberg to Core
-------------------------------------------------+-------------------------
 Reporter:  antonvlasenko                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.9
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:  ui
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by costdev):

 == Test Report

 === Env
 * WordPress 5.9-alpha-51272-src
 * Chrome 96.0.4664.45
 * WSL2
 * Theme: Twenty Twenty Two
 * Gutenberg Editor
 * Plugin: None activated

 === Steps to test
 1. Activate Twenty Twenty-Two theme.
 2. Go to Appearance -> Navigation Menus.
 3. Click Add New button.
 4. Make sure you can't edit visibility and status settings (they should be
 hidden).

 === Results
 **Before PR 1980:** The visibility and status settings are available and
 can be edited. ❌
 **After PR 1980:** The visibility and status settings are hidden and can't
 be edited. ✅

 === Notes
 After creating a Navigation Menu and navigating to
 `/edit.php?post_type=wp_navigation`, it is possible to edit the `Status`
 by clicking `Quick Edit`.

 Pinging @antonvlasenko for an update as this was to be raised as an issue
 in the GB repo and would be worthwhile to have as part of this PR.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54407#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list