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

WordPress Trac noreply at wordpress.org
Thu Sep 3 03:41:57 UTC 2015


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

Comment (by seanchayes):

 Refreshing the patch with the current revision (33869)

 The new patch is `25387.4.diff`

 And, I went out on a limb and added an extra autoembed_callback
 specifically for inline media url paragraph based checks and added that
 extra call into the autoembed function in `class-wp-embed.php`. This
 specific test is to identify media urls within <p> and </p>.

 I updated the tests but there's still a failure that I can't reconcile :-(

 However, the media embeds do work in an improved manner within the Preview
 Changes view and within Visual vs Text edit views.

 Hopefully a step forward.

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


More information about the wp-trac mailing list