[wp-trac] [WordPress Trac] #22544: Insert Media: Non-image attachments aren't inserted with a link
WordPress Trac
noreply at wordpress.org
Sat Nov 24 01:42:23 UTC 2012
#22544: Insert Media: Non-image attachments aren't inserted with a link
--------------------------+--------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+--------------------
Comment (by nacin):
Looking at this, I think we should go back to the old field names used by
media_upload_form_handler() — align, image_alt, image-size, post_excerpt,
post_title. Here's a patch that does that while fixing both this ticket
and #22553.
Sidenote: `$_POST['attachment']['url']`, not `$_POST['url']`.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22544#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list