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

WordPress Trac noreply at wordpress.org
Thu Jun 2 21:23:46 UTC 2016


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

 * owner:   => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37627"]:
 {{{
 #!CommitTicketReference repository="" revision="37627"
 Auto-embedding:
 - We already match URLs on their own line, add another regex to match URLs
 in their own paragraphs.
 - Always exclude the `\s<>"` characters when matching.
 - Add more unit tests.

 Props iseulde, azaozz.
 Fixes #25387.
 }}}

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


More information about the wp-trac mailing list