[wp-trac] [WordPress Trac] #64024: wp_die() status code Plugins component updates (parent ticket: #64009)
WordPress Trac
noreply at wordpress.org
Mon Sep 22 16:24:05 UTC 2025
#64024: wp_die() status code Plugins component updates (parent ticket: #64009)
--------------------------+-----------------------------
Reporter: callumbw95 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
If you have come here directly, please refer back to the parent ticket
here: [https://core.trac.wordpress.org/ticket/64009 #64009]
This ticket is regarding the `wp_die()` function calls within the Media
component and will cover the following locations. Please note links were
correct at the time of testing and writing this up, but line numbers may
have changed slightly:
|| **Filepath** || **Line Number** || **Context** || **Status Code** ||
**New Code** || **Code Meaning** ||
|| src/wp-admin/includes/plugin-install.php ||
[https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
admin/includes/plugin-install.php#L538 538] || Error: is_wp_error(
plugins_api() ;) || 500 || 503 || Service Unavailable ||
|| src/wp-admin/plugin-editor.php || [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-admin/plugin-editor.php#L18 18] ||
User Permissions: does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugin-editor.php || [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-admin/plugin-editor.php#L121 121] ||
Missing: file || 500 || 404 || Not found ||
|| src/wp-admin/plugin-editor.php || [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-admin/plugin-editor.php#L128 128] ||
Error: invalid file type || 500 || 415 || Unsupported Media Type ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L13 13] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L50 50] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L94 94] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L178 178] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L201 201] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L228 228] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L271 271] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L451 451] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L469 469] || User Permissions:
does not have access || 500 || 403 || Forbidden ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/plugins.php#L473 473] || Error: is
multisite, wrong admin || 500 || 404 || Not found ||
|| src/wp-admin/plugin-install.php || [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-admin/plugin-install.php#L19 19] ||
User Permissions: does not have access || 500 || 403 || Forbidden ||
There are however the following function calls I have not touched as I
felt they were already valid with their current status code:
|| **Filepath** || **Line Number** || **Status Code** ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/6.8/src/wp-admin/plugins.php#L67 67] || 500 ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/6.8/src/wp-admin/plugins.php#L185 185] || 500 ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/6.8/src/wp-admin/plugins.php#L459 459] || 500 ||
|| src/wp-admin/plugins.php || [https://github.com/WordPress/wordpress-
develop/blob/6.8/src/wp-admin/plugins.php#L473 473] || 500 ||
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64024>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list