Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #65497


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

These comments were committed in r30102 and r41626.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #65497

    • Property Component GeneralCustomize
    • Property Summary Unnecessary PHP comment with HTML comment in wp-admin/customize.phpReplace unnecessary PHP comment with HTML comment in wp-admin/customize.php
    • Property Type defect (bug)enhancement
    • Property Version 7.04.9
  • 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.