AG Custom Admin
[resolved] Conflict with Theme My Login resolved (2 posts)

  1. Daniele Raimondi
    Posted 3 years ago #

    Hi Argonius, here I am again!
    I've found (and resolved) a problem when both Theme My Login and AGCA are active and you request the page that TML uses to show register/login/profile page.
    When wordpress show its login page, your plugin adds the print_login_head action to 'login_head' hook to add some js code to the login page, but it loads jquery library without checking if it was already loaded by WP, the active theme or by some other plugin.

    To correctly check if a script has been already loaded before you can use wp_script_is function. So to patch the plugin, go to line 1178 (or so) of plugin.php and change this


    with this:

    if( !wp_script_is('jquery')) {


  2. WAP Support
    Plugin Author

    Posted 3 years ago #

    Will be included in next release. Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AG Custom Admin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic