WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24449, comment 6


Ignore:
Timestamp:
06/19/13 21:25:53 (21 months ago)
Author:
derekspringer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24449, comment 6

    initial v1  
    22http://core.trac.wordpress.org/attachment/ticket/24449/wp_ajax_send_attachment_to_editor.diff 
    33 
    4 Essentially I added a check to see if the attachment display settings passed anything (as it did in previous versions) and used that instead of the new media shortcodes. Additionally, the links that get passed now include the link itself as the anchor text. 
     4Essentially I added a check to see if the attachment display settings passed anything (as it did in previous versions) and used that instead of the new media shortcodes. Additionally, the links that get passed now include the link itself as the anchor text, otherwise the editor will chuck the link since it has no text. 
     5 
     6On a related note: the 'Custom URL' option doesn't make a ton of sense for audio or video as it stands. But I think that's a separate ticket :)