[wp-trac] [WordPress Trac] #33264: WPLinkPreview only works in the first editor instance

WordPress Trac noreply at wordpress.org
Tue Aug 4 15:26:06 UTC 2015


#33264: WPLinkPreview only works in the first editor instance
--------------------------+--------------------
 Reporter:  iseulde       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.3
Component:  TinyMCE       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------
Changes (by iseulde):

 * keywords:   => has-patch


Comment:

 Here's a patch that also fixes some other issues, but probably better to
 do this in steps.
 https://core.trac.wordpress.org/attachment/ticket/32604/32604.15.patch
 * Fixes this issue.
 * Adds some basic tests.
 * Always trim the middle and don't set a character limit for the URL. This
 can be trimmed in CSS.
 * If the URL is just a hash or query, don't link it.

 Todo: Relative URLs should be corrected.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33264#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list