[wp-trac] [WordPress Trac] #64721: menu-header.php uses relative file_exists() causing wrong submenu URL when PHP CWD is not wp-admin/

WordPress Trac noreply at wordpress.org
Wed Feb 25 23:14:24 UTC 2026


#64721: menu-header.php uses relative file_exists() causing wrong submenu URL when
PHP CWD is not wp-admin/
-------------------------------------------------+-------------------------
 Reporter:  paoltaia                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:  6.9.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch needs-testing 2nd-opinion


Comment:

 I opened a PR with the suggestion applied: https://github.com/WordPress
 /wordpress-develop/pull/11054

 Nevertheless, would this not be a bug with Studio itself, or rather
 Playground?

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


More information about the wp-trac mailing list