[wp-trac] [WordPress Trac] #36755: Native oEmbed support on Custom Post Types produces Cross-site scripting errors or are not rendered at all.

WordPress Trac noreply at wordpress.org
Thu May 5 01:20:28 UTC 2016


#36755: Native oEmbed support on Custom Post Types produces Cross-site scripting
errors or are not rendered at all.
-------------------------------+------------------------------
 Reporter:  webdevmattcrom     |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.5.1
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by andtrev):

 Just a thought, and something I ran into, sounds like it may be having
 trouble discovering the oembed links? Are you sure your server can be
 contacted? You could try a quick echo esc_html( $html ); exit(); on line
 365 of /wp-includes/class-oembed.php and then navigate to a page with the
 embedded post in it and see if it outputs the embedded posts html.

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


More information about the wp-trac mailing list