Opened 7 years ago
Closed 4 years ago
#44250 closed enhancement (fixed)
Error silencer @opendir syntax are inconsistently written in different files
Reported by: | subrataemfluence | Owned by: | SergeyBiryukov |
---|---|---|---|
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
@
7 years ago
- Focuses coding-standards added
- Type changed from defect (bug) to enhancement
- Version trunk deleted
@
5 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.php
plus two of the four inwp-admin/includes/plugin.php
. So two remain.