[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 Jul 7 23:28:56 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:  closed
 Priority:  normal             |   Milestone:
Component:  TinyMCE            |     Version:  4.5.1
 Severity:  normal             |  Resolution:  invalid
 Keywords:  needs-screenshots  |     Focuses:  javascript
-------------------------------+-------------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 > you need to flush the rewrite rules after adding the custom post type
 code you posted above to get it to work correctly. It's likely this is the
 entire issue you've been having.

 Seems this has been resolved. Agree we should try to catch similar errors
 and show better error messages for them. Better to move that to a new
 ticket.

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


More information about the wp-trac mailing list