[wp-trac] [WordPress Trac] #63137: Getting Use isset() or empty() to check the index exists before using it error into the WordPress core files.

WordPress Trac noreply at wordpress.org
Thu Mar 20 20:34:57 UTC 2025


#63137: Getting Use isset() or empty() to check the index exists before using it
error into the WordPress core files.
------------------------------+-----------------------------
 Reporter:  viralsampat       |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 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,

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63137>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list