Viewing 6 replies - 1 through 6 (of 6 total)
  • Dear @aitpro

    Thank you very much for your suggestions.

    Have a good day.

    Thread Starter AITpro

    (@aitpro)

    Very welcome. Oh and forgot to mention the actual problem that is caused by executing the login_form action directly instead of hooking into it.

    I have a customer that was using your free plugin and was going to buy your Pro version, but this person decided to delete your plugin instead of doing a work around for now until this issue was fixed. I explained to this person that this was just an accidental coding mistake that is easily fixed.

    So anyway this is what happens when you execute the login_form action directly instead of hooking into it > any other plugins that are hooking into the WordPress Login login_form action using add_action() will hook into the Tutor LMS direct action and do whatever actions that would normally only be done on the WordPress Login form.

    In this case the BPS Pro JTC CAPTCHA form validation function is processed on the Tutor LMS Registration page/form, which of course breaks the Tutor LMS Registration page/form because the WP Login action is being executed directly.

    Dear @aitpro

    I talked with our team. It’s not a mistake. On WordPress, you can do some things in many ways. Every developer team does that according to the project structure. If you write any wrong code then WordPress doesn’t approve the theme & plugins. Also, they send warning if you do something wrong. I hope you understand. If you have any questions, feel free to ask me.

    Have a good day.

    Thread Starter AITpro

    (@aitpro)

    Well I would advise you to consult with the WP folks. I may be wrong or you may be wrong. So it would be in your best interest to contact WP directly to get that answer.

    Dear @aitpro

    Our team has regular contact with the WordPress reviewer team. If they see anything wrong they inform us and update our code according to their suggestions. So currently our plugin is up to date according to WordPress coding standards.

    Have a good day.

    Thread Starter AITpro

    (@aitpro)

    I will create additional code in my plugin to accommodate this Tutor LMS issue/problem.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘login_form action being used incorrectly’ is closed to new replies.