Opened 7 years ago
Closed 7 years ago
#27109 closed defect (bug) (fixed)
Wrong $parent_file value in wp-admin/update-core.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | trivial | Version: | 3.0 |
Component: | Upgrade/Install | Keywords: | good-first-bug has-patch commit |
Focuses: | administration | Cc: |
Description (last modified by )
When Updates menu item was moved from Tools to Dashboard in [13588], $parent_file
was not updated: tags/3.8.1/src/wp-admin/update-core.php#L459.
get_admin_page_parent()
correctly overrides it with index.php
. This leaves me wondering if the explicit declaration is actually necessary, but we have it on other admin screens as well, so let's just update it.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Here ya go. FWIW I could not discover any issues by simply deleting it, but the patch does update anyway.