[wp-trac] [WordPress Trac] #60165: Unused variable $parent_file on the settings.php file

WordPress Trac noreply at wordpress.org
Fri Dec 29 11:14:46 UTC 2023


#60165: Unused variable $parent_file on the settings.php file
-----------------------------+-------------------------------
 Reporter:  viralsampat      |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  coding-standards
-----------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch dev-feedback => has-patch close


Comment:

 Hi there, thanks for the patch!

 The `$parent_file` global is used later in `wp-admin/admin-header.php` and
 `wp-admin/menu-header.php`, so it cannot be removed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60165#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list