[wp-trac] [WordPress Trac] #65218: update-core.php - plugin slug is not clean
WordPress Trac
noreply at wordpress.org
Mon May 11 13:58:25 UTC 2026
#65218: update-core.php - plugin slug is not clean
----------------------------+-----------------------------
Reporter: timse201 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
The plugin slug we use to generate the link is not clean on update core.
It includes the parent folder. e.g. /plugin/plugin.php. The API is smart
enough to redirect to the en_us page.
On the plugins screen, we use a clean one.
$plugin_data->update->slug
https://github.com/WordPress/wordpress-
develop/blob/5e7fd3f6a7caf06e55b4b2781bd42a26165e5b3e/src/wp-admin/update-
core.php#L570
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65218>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list