[wp-trac] [WordPress Trac] #15841: Press This: Added images when using Press This are sourced incorrectly
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 22 19:31:52 UTC 2010
#15841: Press This: Added images when using Press This are sourced incorrectly
--------------------------+------------------
Reporter: markel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Press This | Version: 3.1
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+------------------
Changes (by duck_):
* keywords: => has-patch
* milestone: Awaiting Review => 3.1
Comment:
The change to `media_sideload_image` as part of the changes in
`media_handle_sideload` in [16383] for #15432 seems to incorrectly use
`get_attachment_link`. Instead `wp_get_attachment_url` is what is wanted
for the img tag's src attribute.
Noticing some extra non-breaking spaces when inserting the image which
appears to be breaking the link on the default text, but for another
ticket.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15841#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list