When offloading or rolling back images by selecting them from the media library, a notice appears in the dashboard confirming that the operation was successful. The message includes a URL meant to direct users to view the images. However, the link currently redirects to /wp-admin/admin.php, which results in a blank page. Ideally, the URL should redirect to /wp-admin/upload.php to provide users with the correct view of the media library.
Step-by-step reproduction instructions
Go to the WordPress dashboard and navigate to the media library.
Select one or more images to offload or roll back; see the screenshot below.
Wait for the offload or rollback operation.
Observe the success notice that appears in the dashboard; see the screenshot below.
Click on the URL provided in the notice.
Screenshots, screen recording, code snippet or Help Scout ticket
Description
When offloading or rolling back images by selecting them from the media library, a notice appears in the dashboard confirming that the operation was successful. The message includes a URL meant to direct users to view the images. However, the link currently redirects to /wp-admin/admin.php, which results in a blank page. Ideally, the URL should redirect to /wp-admin/upload.php to provide users with the correct view of the media library.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet or Help Scout ticket
Environment info
No response
Is the issue you are reporting a regression
No