[wp-trac] [WordPress Trac] #18764: no CSS ID or class or hook for themes/plugins to modify "max file size" paragraph in media_upload_form()
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 24 01:15:20 UTC 2011
#18764: no CSS ID or class or hook for themes/plugins to modify "max file size"
paragraph in media_upload_form()
--------------------------+-----------------------------
Reporter: jaredh123 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.3
Severity: normal | Keywords:
--------------------------+-----------------------------
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!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18764>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list