Make WordPress Core

Opened 14 months ago

Last modified 12 months ago

#64011 new defect (bug)

wp_die() status code Menus component updates (parent ticket: #64009)

Reported by: callumbw95 Owned by:
Priority: normal Milestone: Awaiting Review
Component: Menus Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

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 ​82 500
src/wp-admin/nav-menus.php ​19 500
src/wp-admin/nav-menus.php ​24 403

Please have a look through the suggested changes documented here, and any/all feedback is appreciated. 😃

Change History (2)

This ticket was mentioned in ​PR #9967 on ​WordPress/wordpress-develop by ​@callumbw95.


14 months ago
#1

  • Keywords has-patch added

…s related to the media component

Trac ticket: 64011

#2 @desrosj
12 months ago

  • Version trunk
Note: See TracTickets for help on using tickets.