After Wordpress 5.4 Update Pro is Malfunctioning

On the WP backend, the PRO post adn page editor is showing all the shortcode instead of just the “Edit in Pro”.

Anyone else experiencing this problem?

Jesse @ vitalitycbd.com

Same problem with my sites.

Hello Jesse and @CInno,

Thanks for writing in!

This issue happens right after you have updated WordPress core because in WordPress 5.4, the default view is Fullscreen Mode and the editor is Visual Editor. Please change it to Spotlight Mode and Code Editor.

Once you have change that settings, it will be back to normal.

Hope this helps.

1 Like

It works fine for me in X

Hi @Guimaraes,

We’re glad it works for you but for others, please be advised that the WordPress version 5.4.0 which is a major update, is not yet officially compatible with our theme see https://theme.co/docs/version-compatibility

However you can temporarily fix the issue by adding the following code in the child theme’s functions.php file:

/* Temporary fix for Gutenburg issue with WP 5.4 */
add_action('admin_head', 'fix_content_builder');

function fix_content_builder() {
  echo '<style>
    .cs-disable-gutenburg #editor .edit-post-visual-editor.editor-styles-wrapper {
      display: none!important;
    }
  </style>';
}

This will be fixed in the next release of the theme and then you can safely remove the above code. Hope this helps!

Hi there,

When should we expect X new release? Think I might hold off on site to update Wordpress as I have this issue as well.

Thanks for your help :slight_smile:

Hi @Isabelle_808,

There is no set date for the release at the moment but the problem mentioned here is addressed and will be fixed in the release.

You can update your WordPress installation after having a complete backup of your website and add the code that my colleague mentioned into the functions.php file of the Child Theme which you can install.

For more information on the Child Themes please kindly click here.

Thank you.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.