• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BUG Return WARNING message on customiser pape

Oleg

New member
Messages
1
Likes
0
Points
1
#1
Webcraftic Cyrlitera v1.0.5
WordPress 5.2.1
Php 7.2

Go to url /wp-admin/customize.php?return=/wp-admin/index.php and a few seconds shows the message, see screenshot cyrlitera.png
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
 

Attachments

Temyk

Developer & Support
Messages
1,129
Likes
42
Points
48
#2
Hello.

Thank you for finding the problem. We will definitely fix it in the next versions of Clearfy.

If you have any questions or comments, please let me know and I'll be more than glad to assist you.