[wp-trac] [WordPress Trac] #59536: Navigation data persists even after deleting the navigation block

WordPress Trac noreply at wordpress.org
Thu Oct 5 11:09:04 UTC 2023


#59536: Navigation data persists even after deleting the navigation block
------------------------------+------------------------------
 Reporter:  annashopina       |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  General           |     Version:  trunk
 Severity:  minor             |  Resolution:
 Keywords:  has-testing-info  |     Focuses:
------------------------------+------------------------------

Comment (by deepakvijayan):

 I tested this in **6.4-beta2**. I can confirm that this issue is present.
 Following are my findings.


 The navigation block persists the data of the last created navigation
 block. **Not sure if this is intentional or not**.

 **Steps followed**
 1. Created a new post
 2. Added a navigation block.
 3. Added items to the menu.
 4. Saved the post and viewed it. Everything seems to be working.
 5. Removed the navigation block. Saved and viewed the post. Navigation
 gone. Working fine.
 6. Added navigation back to post. It initializes with the previous data.

 To check further I added one more navigation(let's call it nav2) block to
 the same page with different navigation data. Now if I further add one
 more nav block. It initializes with the data from nav2.

 Hence, we can confirm that the navigation block initializes with the last
 navigation block data.

 Can someone confirm if this is intentional? If so this can be closed.

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


More information about the wp-trac mailing list