Title: JS Issue (Unexpected Identifier) caused by wpc_pointer_print_scripts code
Last modified: September 1, 2016

---

# JS Issue (Unexpected Identifier) caused by wpc_pointer_print_scripts code

 *  Resolved [Garrett Hyder](https://wordpress.org/support/users/garrett-eclipse/)
 * (@garrett-eclipse)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/js-issue-unexpected-identifier-caused-by-wpc_pointer_print_scripts-code/)
 * Hello,
 * I noticed in the js console that there was an issue with the js rendered through
   the wpc_pointer_print_scripts function in wpcloudy-pointers.php. The single quotes
   within the $pointer_content need to be escaped with \’ as the php param gets 
   echoed into a js single quote section.
 * Also probably want to add a space before the link for readability.
 * Cheers
 * [https://wordpress.org/plugins/wp-cloudy/](https://wordpress.org/plugins/wp-cloudy/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * (@rainbowgeek)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/js-issue-unexpected-identifier-caused-by-wpc_pointer_print_scripts-code/#post-7576820)
 * Hi,
    thank you for your feedback. We’ll check that ASAP.
 * 🙂

Viewing 1 replies (of 1 total)

The topic ‘JS Issue (Unexpected Identifier) caused by wpc_pointer_print_scripts 
code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cloudy_657583.svg)
 * [WP Cloudy](https://wordpress.org/plugins/wp-cloudy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudy/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudy/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin Denis](https://wordpress.org/support/users/rainbowgeek/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/js-issue-unexpected-identifier-caused-by-wpc_pointer_print_scripts-code/#post-7576820)
 * Status: resolved