Cornerstone stops saving when adding embedded video, doesn't load old posts with embedded vids anymore

Dear Team,
As the title says cornerstone doesn’t load posts with embedded videos anymore. It works fine with new / duplicated posts, but as soon as I add an iframe into an ‘embedded video’ or ‘raw code’ element it wont save the green bar will be blocked.

  • I have cleared caches, installed and used Transient Cleaner, and tried to turn on/off plugins, with no luck so far.

Any help would be apprecied! thanks,

Anton

Hey guys,
Found the solution, after deeper digging in the forum: https://theme.co/apex/forums/topic/embed-video-and-cornerstone-doesnt-save/page/2/

The fix was adding this line on site’s wp-config.php just under WP_DEBUG line
define( ‘CS_LEGACY_AJAX’, true );

Wohooo!

Glad to hear you got it sorted. :slight_smile: