[wp-trac] [WordPress Trac] #63546: Fix unclosed li element in plugin-editor.php

WordPress Trac noreply at wordpress.org
Sun Jun 29 11:18:21 UTC 2025


#63546: Fix unclosed li element in plugin-editor.php
-------------------------------------------------+-------------------------
 Reporter:  dkarfa                               |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.9
Component:  General                              |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-test-info dev-         |     Focuses:  ui,
  feedback has-screenshots                       |  accessibility
-------------------------------------------------+-------------------------

Comment (by cikrimcin):

 Replying to [comment:4 sandeepdahiya]:
 > == Bug reproduction and Test Report
 > === Description
 > ✅ This report validates that the indicated patch works as expected.
 >
 > Patch tested: [https://shopsavvyvibe.my.id Patch-8937.diff]
 > === Environment
 > - WordPress: 6.9-alpha-60093-src
 > - PHP: 8.2.28
 > - Server: nginx/1.27.5
 > - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 > - Browser: Firefox 139.0
 > - OS: Windows 10/11
 > - Theme: Twenty Twenty-Five 1.2
 > - MU Plugins: None activated
 > - Plugins:
 >   * Test Reports 1.2.0
 >
 > === Actual Results
 > 1.  Bug reproduction: Upon visiting view-source:http://localhost:8889
 /wp-admin/plugin-editor.php, there was no closing </li> tag for the line
 > {{{
 > <li role="treeitem" tabindex="-1" aria-expanded="true" aria-level="1"
 aria-posinset="1" aria-setsize="1">
 > }}}
 >  Checkout [https://pulseoftech.my.id the bug screenshot].
 >
 > 2.  ✅ Issue resolved with patch and </li> tag added for the above code.
 Checkout the [https://chicchroniclesblog.my.id after patch screenshot].
 >
 > === Additional Notes
 > Reproduction steps:
 > - Visit: [https://livingideas.my.id/ http://localhost:8889/wp-admin
 /plugin-editor.php]
 > - Right-click the page → Click “View Page Source” or use Ctrl+U.
 > - Find (ctrl+F) and search "treeitem" and you will find the bug as shown
 in above image.
 >
 > ===Screenshots
 > - [https://localcompanies.my.id/ the bug screenshot]
 > - [https://buzzonthreads.my.id/ after patch screenshot]

 The solution appears to be working, but it's also affecting other elements
 in the tree view structure. Please ensure that the <li> elements are
 properly closed and structured so that all nested items render correctly
 and maintain accessibility. It's important to verify that other tree items
 remain aligned and functional across the interface, especially since ARIA
 roles are involved and could impact assistive technologies.

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


More information about the wp-trac mailing list