Return WARNING message on customiser pape
-
Webcraftic Cyrlitera v1.0.5
WordPress 5.2.1
Php 7.2Go to url /wp-admin/customize.php?return=%2Fwp-admin%2Findex.php and a few seconds shows the message, see screenshot https://screenshare.ru/vndgvzkb
The JavaScript script is displayed on all pages of the site and in the admin panel too. What for?
I corrected ….factory/bootstrap/includes/functions.php line:185 to this:if(!is_admin()){ ?> <script> if( !window.factory ) { window.factory = {}; } if( !window.factory.factoryBootstrap400 ) { window.factory.factoryBootstrap400 = {}; } window.factory.factoryBootstrap400.colors = { primaryDark: '<?php echo $primary_dark ?>', primaryLight: '<?php echo $primary_light ?>' }; </script> <?php } }
But better correct correctly
The forum https://forum.webcraftic.com/forums/cyrlitera.23/ is registered, but does not allow to create a topic, return
You have insufficient privileges to post here.
- The topic ‘Return WARNING message on customiser pape’ is closed to new replies.