no CSS ID or class or hook for themes/plugins to modify "max file size" paragraph in media_upload_form()
|Reported by:||jaredh123||Owned by:||azaozz|
in wp-admin/includes/media.php line 1534 (as of svn# 18763), there is a paragraph that says "Maximum upload file size is X... after file has been uploaded, you can add titles and descriptions."
For themes are plugins that are using media_upload_form(), this paragraph might make no sense for the context they are using it. There is no way to filter this paragraph, nor even a usable CSS class or ID to target it with CSS. The only current way to target this paragraph and remove it or modify it is by using jQuery to find the text and hide it.
Possibly a filter, or at the very least a CSS selector would help theme and plugin authors. Thanks!
Change History (21)
- Keywords needs-patch added; has-patch removed
- Milestone changed from Awaiting Review to 3.3
comment:16 @azaozz — 3 years ago
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed