Title: barticus's Replies | WordPress.org

---

# barticus

  [  ](https://wordpress.org/support/users/barticus/)

 *   [Profile](https://wordpress.org/support/users/barticus/)
 *   [Topics Started](https://wordpress.org/support/users/barticus/topics/)
 *   [Replies Created](https://wordpress.org/support/users/barticus/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/barticus/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/barticus/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/barticus/engagements/)
 *   [Favorites](https://wordpress.org/support/users/barticus/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Script Syntax Error: Unexpected token &](https://wordpress.org/support/topic/script-syntax-error-unexpected-token/)
 *  [barticus](https://wordpress.org/support/users/barticus/)
 * (@barticus)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/script-syntax-error-unexpected-token/#post-3300497)
 * I believe i have found the problem, although it is not a complete work around,
   and may not be appropriate in all cases…
 * in the file /wp-content/plugins/wordpress-seo/admin/class-pointers.php:
    - change line 233 from `<?php echo esc_js( $button2_function ) ; ?>` to `<?php
      echo $button2_function ; ?>`, and similarly,
    - change line 239 from `<?php echo esc_js( $button1_function ); ?>` to `<?php
      echo $button1_function ; ?>`
 * this function changes special characters to HTML character specifiers (i.e ” 
   to “) which is what causes this.
 * Please note i havent fully tested this so i can’t say that it works everywhere
   in the admin section (which is the only place this is loaded).
 * Good Luck!

Viewing 1 replies (of 1 total)