[wp-trac] [WordPress Trac] #64011: wp_die() status code Menus component updates (parent ticket: #64009)
WordPress Trac
noreply at wordpress.org
Fri Sep 19 17:16:07 UTC 2025
#64011: wp_die() status code Menus component updates (parent ticket: #64009)
--------------------------+-----------------------------
Reporter: callumbw95 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Menus | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
If you have come here directly, please refer back to the parent ticket
here: #000000
This ticket is regarding the `wp_die()` function calls within the Media
component and will cover the following locations:
|| src/wp-admin/link-add.php || 13 || User Permissions: does not have
access || 500 || 403 ||
|| src/wp-admin/link.php || 120 || Missing: link || 500 || 404 ||
|| src/wp-admin/link-manager.php || 12 || User Permissions: does not have
access || 500 || 403 ||
|| src/wp-admin/link-manager.php || 92 || User Permissions: does not have
access || 500 || 403 ||
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/link-parse-opml.php || [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-admin/link-parse-opml.php#L82 82] ||
500 ||
|| src/wp-admin/nav-menus.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/nav-menus.php#L19 19] || 500 ||
|| src/wp-admin/nav-menus.php || [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/nav-menus.php#L24 24] || 403 ||
Please have a look through the suggested changes documented here, and
any/all feedback is appreciated. 😃
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64011>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list