WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#43031 new defect (bug)

Menu text is shown updated in collapsed widget though user has cancelled editing text

Reported by: nilamacharya Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: Menus Keywords: has-patch ux-feedback
Focuses: ui, javascript, administration Cc:

Description

Bug: Menu text is shown updated in collapsed widget though user has cancelled editing text

Steps:

Please check URL for steps: https://www.screencast.com/t/4vshm4i37G

  1. Navigate to Appearance->Menus from left rail
  2. Go to "Edit Menu" and add some menu in Menu structure at right side
  3. Expand Menu tab
  4. Edit Navigation Label for example from "Home" to "Home test"
  5. Select "Cancel" link , widgte is collapsed and updates text is display (which should not)
  6. Again expand and check Naviogation lable is not updated inside which is proper
  7. Try to edit text and now earlier updated text is removed.

Attachments (3)

menu text.png (97.2 KB) - added by nilamacharya 6 months ago.
menu text.mp4 (1.4 MB) - added by nilamacharya 6 months ago.
43031.patch (1.1 KB) - added by Girishpanchal 6 months ago.
Current menu label updated according to expanded menu navigation label.

Download all attachments as: .zip

Change History (5)

#1 @Girishpanchal
6 months ago

  • Focuses ui javascript administration added
  • Keywords has-patch added

We have 2 option to solve this bug.

  1. Either we need to update current expanded menu tab label according to the "Navigation Label"
  2. Update current expanded menu "Navigation Label" to menu tab label.

I think We should go with the second option "Update current expanded menu "Navigation Label" to menu tab label.".

Here is the patch.

Last edited 6 months ago by Girishpanchal (previous) (diff)

@Girishpanchal
6 months ago

Current menu label updated according to expanded menu navigation label.

#2 @melchoyce
6 months ago

  • Keywords ux-feedback added
Note: See TracTickets for help on using tickets.