[wp-trac] [WordPress Trac] #57612: Deprecate `wp-admin/media.php`
WordPress Trac
noreply at wordpress.org
Wed Apr 12 00:04:30 UTC 2023
#57612: Deprecate `wp-admin/media.php`
-------------------------------+-----------------------------
Reporter: kebbet | Owner: audrasjb
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: early needs-patch | Focuses: administration
-------------------------------+-----------------------------
Comment (by jorbin):
> And with a redirection using a query var to display the notice?
Yes. I would do it like that.
Riffing on your wording, `The Edit Media screen is deprecated as of
WordPress 6.3. Please use the Media Library instead`
also, `_deprecated_file` causes a 500 error since the function isn't
defined if you go directly to `wp-admin/media.php`. Seems to also be the
case for `wp-admin/custom-header.php`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57612#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list