Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #65497


Ignore:
Timestamp:
06/20/2026 03:42:23 PM (11 hours ago)
Author:
sabernhardt
Comment:

These comments were committed in r30102 and r41626.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65497

    • Property Component changed from General to Customize
    • Property Version changed from 7.0 to 4.9
    • Property Type changed from defect (bug) to enhancement
    • Property Summary changed from Unnecessary PHP comment with HTML comment in wp-admin/customize.php to Replace unnecessary PHP comment with HTML comment in wp-admin/customize.php
  • Ticket #65497 – Description

    initial v2  
    11In `src/wp-admin/customize.php` (around line 227 and 266), there is a PHP opening tag used solely for an inline comment:
    22
    3 <ul class="customize-pane-parent"><?php // Panels and sections are managed here via JavaScript ?></ul>
     3`<ul class="customize-pane-parent"><?php // Panels and sections are managed here via JavaScript ?></ul>`
    44
    55Since no PHP code is being executed, the PHP tag is unnecessary. This can be replaced with an HTML comment to improve code readability and maintainability.