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

WordPress Trac noreply at wordpress.org
Thu Jun 2 20:16:01 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 azaozz):

 Yep, 25387.4.patch looks even better. In 25387.5.patch:
 - Made the excluded chars groups `[^\s<>"]` in both
 preg_replace_callback(). All of these chars are "illegal" in URLs, see
 http://tools.ietf.org/html/rfc3986#section-2.
 - Added couple more tests.

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


More information about the wp-trac mailing list