Opened 8 years ago
Closed 5 years ago
#44250 closed enhancement (fixed)
Error silencer @opendir syntax are inconsistently written in different files
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.8 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | General | Keywords: | has-patch 2nd-opinion |
| Focuses: | coding-standards | Cc: |
Description
We have error silencers like @opendir and @closedir are used in several places of different admin files.
In some areas they appear like @opendir while at some places we have @ opendir. However, @closedir is written consistently.
I think they should be consistent everywhere.
Attachments (3)
Change History (7)
#1
@
8 years ago
- Focuses coding-standards added
- Type changed from defect (bug) to enhancement
- Version trunk deleted
@
6 years ago
for consistency, this removes the spaces for the remaining two @ opendir instances in wp-admin/includes/plugin.php
Note: See
TracTickets for help on using
tickets.
Changeset [45611] removed the two spaces from
wp-admin/includes/upgrade.phpplus two of the four inwp-admin/includes/plugin.php. So two remain.