Replies: 0
Hi friend
First of all, thanks for your efforts in making this plugin.
I suggest a small tweak to the code, to make WP load the plugin’s js at the footer (a good practice in general) –
Change the following line 437:
wp_register_script( ‘avatar-manager’, AVATAR_MANAGER_PLUGIN_URL . ‘assets/js/avatar-manager’ . $suffix . ‘.js’, array( ‘jquery’ ), ‘1.2.1’ );
To:
wp_register_script( ‘avatar-manager’, AVATAR_MANAGER_PLUGIN_URL . ‘assets/js/avatar-manager’ . $suffix . ‘.js’, array( ‘jquery’ ), ‘1.2.1’, true );
Thanks in advance