Opened 13 years ago
Closed 11 years ago
#19419 closed enhancement (wontfix)
wp-admin/media.php: allow to add a default src
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.2.1 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
something like
in file wp-admin/media.php :
function type_url_form_image($image_url) {
.
.
.
<input id="src" name="src" value="'.$image_url.'" type="text"
.
.
.
}
might be helpful because the function can be reused for plugins
Change History (2)
#2
@
11 years ago
- Component changed from External Libraries to Media
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
It does seem that the type_url_form_media
filter could be used to replace or append to the output of wp_media_insert_url_form()
. Feel free to reopen if this is still a concern.
Note: See
TracTickets for help on using
tickets.
If this is being used for a plugin, is this something that can also be solved in the plugin?
Note: In 3.3
type_url_form_image()
has been deprecated in favor ofwp_media_insert_url_form()
but the hook is still namedtype_url_form_image
.