[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
Mon Nov 21 16:31:21 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: 3.3
Component: Media | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by scottbasgaard):
* cc: mail@… (added)
Comment:
Revised my patch a bit. What do you think jared?
Let's make this text filterable rather than adding an id/class.
You could then do something like this.
{{{
function custom_text($text) {
return 'Custom text here.';
}
add_filter('media_upload_title_and_description_message', 'custom_text');
}}}
Probably needs some tweaks, but what do you think?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18764#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list