live-composer / live-composer-page-builder

Free page builder plugin for WordPress https://livecomposerplugin.com
GNU General Public License v3.0
170 stars 57 forks source link

Live composer overwriting post_content #1114

Closed jamesdlow closed 1 month ago

jamesdlow commented 7 months ago

Hi, We have been using Live Composer for years. Live Composer used to leave the regular post_content alone (maybe only if the cache was disabled, but could be normally too), but now it seems to be inserting rendered live composer code in the post_content field on save in:

/includes/display-functions.php->dslc_filter_content()

Is it possible to restore the original functionality, so that the wp_posts.post_content field is not overwritten on save of the live composer editor.

Thanks.

jamesdlow commented 4 months ago

Really need a fix to this issue

jamesdlow commented 4 months ago

Oh checking on recent versions it seems to have been fixed: https://github.com/live-composer/live-composer-page-builder/commit/8db4b17adeb0ceab79653c6bb642e77c26311d59

This was a bad update to Live Composer, even if it was temporary. It has overwritten a lot of content in our database which we have no way of recovering, as the bug wasn't discovered until after our database backups had expired.