WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/26/2014 11:42:08 PM (7 years ago)
Author:
wonderboymusic
Message:

Don't pass embeds through the_content() when trying to render MCE previews, leverage WP_Embed and do_shortcode() instead.

Props kovshenin.
See #28195.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-ajax.php

    r28478 r28580  
    6161    'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
    6262    'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
    63     'save-user-color-scheme', 'update-widget', 'query-themes', 'filter-content'
     63    'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed'
    6464);
    6565
Note: See TracChangeset for help on using the changeset viewer.