[wp-trac] [WordPress Trac] #25387: Autoembeds don't work with paragraphs

WordPress Trac noreply at wordpress.org
Wed Apr 27 17:25:13 UTC 2016


#25387: Autoembeds don't work with paragraphs
-------------------------------------------+------------------
 Reporter:  Looimaster                     |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  4.6
Component:  Embeds                         |     Version:  3.6
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch needs-testing early  |     Focuses:
-------------------------------------------+------------------

Comment (by Viper007Bond):

 Replying to [comment:28 yosefeliezrie]:
 > Just a question and maybe i'm missing something but IMO there should be
 some sort of a filter to stop this functionality, what happens if the user
 just wants to link to a youtube and not embed or another link and not
 embed? Is there already a filter for this?

 If they want to make a link, then they should insert a link, e.g. `<a
 href="YouTube URL">YouTube URL</a>`. Those won't be embedded, only plain
 text URLs will be.

 Alternatively any URL that isn't all alone on its own line won't be
 embeded.

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


More information about the wp-trac mailing list