Title: Badly behaved Javascript
Last modified: August 21, 2016

---

# Badly behaved Javascript

 *  Resolved [mac2net](https://wordpress.org/support/users/mac2net/)
 * (@mac2net)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/)
 * Hi
    Why are you dumping WP jquery?
 * Your plugin doesn’t behave well with the front-end editor, which is a shame because
   otherwise it is very useful.
 * > JQuery is not compatible with Quirks Mode.
 * As it stand now it has to move to the deactivated pile.
 * [http://wordpress.org/plugins/wp-font-resizer/](http://wordpress.org/plugins/wp-font-resizer/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [arsho](https://wordpress.org/support/users/arsho/)
 * (@arsho)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/#post-4036862)
 * Can you say exactly what difficulty you are facing?
 *  Thread Starter [mac2net](https://wordpress.org/support/users/mac2net/)
 * (@mac2net)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/#post-4036863)
 * Sorry, I can’t remember.
 *  Plugin Author [arsho](https://wordpress.org/support/users/arsho/)
 * (@arsho)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/#post-4036866)
 * I have uploaded version 1.0 and debugged javascript problems. It works fine with
   both front end and back end. You can check it. Hope you will be satisfied with
   the debugged version. Thank you.
 *  Thread Starter [mac2net](https://wordpress.org/support/users/mac2net/)
 * (@mac2net)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/#post-4036867)
 * Cheers.
    Sorry I didn’t remember.
 *  [imageintegral](https://wordpress.org/support/users/imageintegral/)
 * (@imageintegral)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/#post-4036878)
 * Works fine at the front end of my client’s new site, but it keeps writing to (
   and cluttering up) my debug.log with this…
 * ————-
    PHP Notice: wp_register_script was called **incorrectly**. Scripts and
   styles should not be registered or enqueued until the `wp_enqueue_scripts`, `
   admin_enqueue_scripts`, or `login_enqueue_scripts` hooks. Please see [Debugging in WordPress](http://codex.wordpress.org/Debugging_in_WordPress)
   for more information. (This message was added in version 3.3.) in /wp-includes/
   functions.php on line 3245 ————-
 * Any idea what’s causing it to endlessly write this stuff every 3 minutes? It 
   stops when I deactivate your plugin.
    I need my log clear (at present at least),
   while I test a new site. It’s a shame – a nice looking plugin that otherwise 
   works fine at the front 🙂 Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Badly behaved Javascript’ is closed to new replies.

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

## Tags

 * [enqueue](https://wordpress.org/support/topic-tag/enqueue/)
 * [font](https://wordpress.org/support/topic-tag/font/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [resize](https://wordpress.org/support/topic-tag/resize/)

 * 5 replies
 * 3 participants
 * Last reply from: [imageintegral](https://wordpress.org/support/users/imageintegral/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/badly-behaved-javascript/#post-4036878)
 * Status: resolved