[wp-trac] [WordPress Trac] #23961: Video / Audio embed codes are not saved

WordPress Trac noreply at wordpress.org
Thu Apr 11 02:41:46 UTC 2013


#23961: Video / Audio embed codes are not saved
--------------------------+--------------------
 Reporter:  ThemePrince   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by markjaquith):

 I've done "embed reversals" before, as well. Converts them to their
 shortcode equivalent. A nice way of allowing limited potentially-dangerous
 code by funneling it back to a whitelisted output method.

 Might be nice to support this in core for the OEmbed providers we support,
 but making those regexes isn't exactly trivial. They can be a pain,
 especially when the embed code varies in subtle ways that you can't always
 predict.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23961#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list