Wrong Project Id on Save
-
As of 3.5.0 of optimizely the project id changes in the script tag when you save the configuration: https://raventools.com/wp-admin/admin.php?page=optimizely-config. I removed the
absint()
function around the $project_id variable and it stopped creating the wrong id.:function optimizely_generate_script( $project_id ) { return '<script src="//cdn.optimizely.com/js/' . $project_id . '.js"></script>'; } // file optimizely/optimizely.php
– Jon Zumbrun
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Wrong Project Id on Save’ is closed to new replies.