[wp-trac] [WordPress Trac] #57612: Deprecate `wp-admin/media.php`
WordPress Trac
noreply at wordpress.org
Tue Apr 11 22:47:27 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
-------------------------------+-----------------------------
Changes (by peterwilsoncc):
* keywords: has-patch early commit => early needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
As seen in the screen shot above, visiting media.php following [55647]
results in a white screen without any user facing information. As a
[https://wpdirectory.net/search/01GR9676D2CSG282G1BSD0QSF9 number of
plugins] reference the file, the most popular with 200K+ installs, I don't
think this is adequate.
I think a redirect to `admin_url( '/uploads.php' )` is more suitable. If
placed after the deprecation notice, a `headers_sent()` check will be
required.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57612#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list