Opened 4 years ago
Closed 4 years ago
#54717 closed defect (bug) (invalid)
Remove unused space from admin-ajax.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
There is unused space while declaring the variable ( $core_actions_post ) in the admin-ajax.php file. So According to the WordPress PHP coding standard, it should be removed.
Attachments (1)
Change History (3)
#2
@
4 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
- Version trunk deleted
This spacing is used to align with $core_actions_post_deprecated in the block above.
In addition, PHPCS throws a warning when the spaces are removed:
156 | WARNING | [x] Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
(Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
Tip: Use the following command to check against PHPCS:
vendor/bin/phpcs <relative/path/to/file>
Note: See
TracTickets for help on using
tickets.
Created Patch