[wp-trac] [WordPress Trac] #57073: collapse menu not working on wp-admin/theme-editor.php or wp-admin/plugin-editor.php

WordPress Trac noreply at wordpress.org
Wed Feb 15 18:19:32 UTC 2023


#57073: collapse menu not working on wp-admin/theme-editor.php or wp-admin/plugin-
editor.php
----------------------------+-------------------------
 Reporter:  itsnikhilpatel  |       Owner:  audrasjb
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  6.2
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by Ankit K Gupta):

 Tested this issue with the PR https://github.com/WordPress/wordpress-
 develop/pull/3630 and  this PR fixed the issue.

 == Test Report

 === Env
 * WordPress - 6.2-alpha-20230215.230847
 * Chrome Version - 110.0.5481.77 (Official Build) (x86_64)
 * OS -  macOS Monterey V12.3.1
 * Theme: Twenty Twenty-One Version: 1.7
 * PHP - 8.0.0
 * Web Server - Apache
 * Database - MySQL 5.7.28
 * Used PR - https://github.com/WordPress/wordpress-develop/pull/3630


 === Steps to test

 1. Access the WordPress Dashboard.
 2. Navigate to the 'Appearance' section.
 3. Select the 'Theme File Editor' option.
 4. Click on the 'Collapse menu' feature.

 === Test result

  ✅ The functionality of the 'Collapse menu' feature has been rectified,
 and it is now operating in accordance with the desired behavior. Upon
 being clicked, it is observed to expand or collapse the menu as intended.
 Comprehensive testing was conducted on this feature, along with the
 examination of other menu items and the 'Plugin File Editor' tab to ensure
 their smooth operation.



 === Screencast:

 **Before Fix -**

 https://screencast-o-matic.com/watch/c0noF1Vyj0Y



 **After Fix by PR3630 -**


 https://screencast-o-matic.com/watch/c0noFQVyj0W


 === Actual Results

 ✅ Expected result- works as expected with the patch.

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


More information about the wp-trac mailing list