Opened 4 weeks ago
Last modified 4 weeks ago
#63137 reviewing defect (bug)
Getting Use isset() or empty() to check the index exists before using it error into the WordPress core files.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | changes-requested has-patch |
Focuses: | coding-standards | Cc: |
Description
Hello Team,
I have checked wp-admin WordPress core files and I have found this "Use isset() or empty() to check the index exists before using it" error for few files.
Here, I have listed files:
src/wp-admin/network/site-new.php
src/wp-admin/network/site-settings.php
src/wp-admin/network/site-users.php
src/wp-admin/network/sites.php
src/wp-admin/network/themes.php
src/wp-admin/network/user-new.php
src/wp-admin/network/users.php
I have tested this into the WordPress 6.8-beta1.
Thanks,
Attachments (3)
Change History (4)
#1
@
4 weeks ago
- Keywords changes-requested has-patch added
- Owner set to audrasjb
- Status changed from new to reviewing
- Version trunk deleted
Hello thanks for the ticket and patch,
Please note that inline comments like these are not necessary:
// Check post blog isset and not empty.
Note: See
TracTickets for help on using
tickets.
I have checked above mentioned issue and resolved it. Here, I have added my patch.