Changes between Initial Version and Version 1 of Ticket #46367, comment 2
- Timestamp:
- 05/04/2019 06:02:23 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46367, comment 2
initial v1 3 3 Reviewing the setup WP has, the create menu redirects the user to `nav-menus.php?action=edit&menu=0` so taking the user back to `nav-menus.php` seems like the most appropriate course here. 4 4 5 I setup an initial patch for this in [https://core.trac.wordpress.org/attachment/ticket/46367/46367.diff 46367.diff] (and minor tweak in [https://core.trac.wordpress.org/attachment/ticket/46367/46367.2.diff 46367.2.diff] to cleanup the conditional), which introduces the menu-cancel action link. To give it the same red as the menu-delete action I've added the selector to the common.css menuwhere menu-cancel is setup. I'm not sure if we want to give it an alternate colour but felt it made sense and should never appear alongside the menu-delete action.5 I setup an initial patch for this in [https://core.trac.wordpress.org/attachment/ticket/46367/46367.diff 46367.diff] (and minor tweak in [https://core.trac.wordpress.org/attachment/ticket/46367/46367.2.diff 46367.2.diff] to cleanup the conditional), which introduces the menu-cancel action link. To give it the same red as the menu-delete action I've added the selector to the common.css file where menu-cancel is setup. I'm not sure if we want to give it an alternate colour but felt it made sense and should never appear alongside the menu-delete action. 6 6 7 7 Give it a shot and let me know if you have any issues.