[wp-trac] [WordPress Trac] #65114: Correct formatting of `$locked_text` in posts list table
WordPress Trac
noreply at wordpress.org
Wed Apr 22 14:07:55 UTC 2026
#65114: Correct formatting of `$locked_text` in posts list table
-------------------------------+-----------------------------
Reporter: ankitkumarshah | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Keywords:
Focuses: coding-standards |
-------------------------------+-----------------------------
The `column_title()` method in `WP_Posts_List_Table` has variable
alignment
issues in `locked_text` that do not follow WordPress coding standards.
Steps to reproduce:
1. Run PHPCS against `src/wp-admin/includes/class-wp-posts-list-table.php`
2. Observe coding standards violations around line 1125.
{{{
1125 | WARNING | [x] Equals sign not aligned correctly; expected 1 space
but found 3 spaces
| |
(Generic.Formatting.MultipleStatementAlignment.IncorrectWarning)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65114>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list