[wp-trac] [WordPress Trac] #57608: Help tab, says […] Update Media […], while button says Update
WordPress Trac
noreply at wordpress.org
Thu Feb 2 14:11:23 UTC 2023
#57608: Help tab, says […] Update Media […], while button says Update
-------------------------------------------------+-------------------------
Reporter: kebbet | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Help/About | Version:
Severity: normal | Resolution:
Keywords: has-patch has-screenshots needs- | Focuses: ui-copy
refresh |
-------------------------------------------------+-------------------------
Changes (by kebbet):
* keywords: has-patch has-screenshots => has-patch has-screenshots needs-
refresh
Comment:
So, here goes. Props to @costdev for helping out understanding whats going
on.
There is two buttons that says `Update Media` in core in the file `wp-
admin/media.php`. This file not referenced in core anywhere. In a
[https://core.trac.wordpress.org/ticket/26601#comment:124 comment] by
@afercia 6 years ago it is referenced as the `Old Edit Media` screen.
Two themes have references to the file, but it is in their `default.po`
file. ([https://wpdirectory.net/search/01GR96FTCAX9Z7Y8R6BASDBTP4 Search
result])
More plugins have references to the file, but many references `*.po` and
`*.pot` files. ([https://wpdirectory.net/search/01GR9676D2CSG282G1BSD0QSF9
Search result])
The screen is actually possible to access via links like this: `/wp-
admin/media.php?attachment_id=NNNN&action=edit` where `NNNN` is the
attachment ID.
The screen is broken, clicking the `Insert into Post` button leads to a
white screen.
So, to match the help tab text what any user interface look like, I
suggest to change the button texts to `Update` from `Update Media`.
A follow up ticket might need to be opened for disussing the faith of `wp-
admin/media.php`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57608#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list