SOLVED: Custom Code in page settings dissapears

Browser: Firefox 122.0 / Chrome 120.0.6099.225
OS: Windows 10
Video: Jam

I got this bug since 1.9.5 was released, but I wasn’t sure what caused it and I wasn’t able to reproduce it on clean WP install. Finally I did. Steps to reproduce:

  1. Install Wordpress 6.4.2 and Bricks 1.9.5
  2. Create some page, edit it with Bricks
  3. Go to Page settings, add any custom code. I use CSS on body just to make it more visual.
  4. Create a template for this page. Template can be absolutely blank. But I add “Post Content” widget with Data source = bricks, just to see page’s HTML and custom code on a front-end.
  5. Edit page again, go to Page settings. You’ll see that custom codes didn’t loaded there. But they’re still in DB and on front-end.

At this point, if you’ll rollback Bricks to version 1.9.4 and edit your page - you’ll be able to edit your custom codes again. So it’s a new bug in 1.9.5.

Hi,
Thanks so much for your report!

I reproduced the issue and added it to our bug tracker.

Best regards,
timmse

Hi,
We’ve fixed this issue in Bricks 1.9.6, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 1.9.6 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse