• Resolved Sabuj Kundu

    (@manchumahara)


    Hi,

    as developer I was working on a plugin in my wordpress setup where tutor plugin is also installed. I found a strange behavior, that on my custom form submit tutor plugin injected it’s nonce and sent request. To be more specific the js file for admin interface ‘tutor-admin.min.js’ is enqueued totally admin wide. not for any specific page which I believe is not standard or non tutor lms pages still it’s loading the js.

    Then the js file tutor-admin.min.js has a code that fires on click event for id “export_settings” which is very common term for html id and as your js loads for whole wordpress dashboard it’s actually hijacking click event for such implementation in other places. it’s better you use your own prefix like “tutor_export_settings” for html id so that it’s more tutor lms specific. If the standard is not followed more and more conflict may occur with other plugins.

    As your js is provided as minified, I used a non minify tool and sending you screenshot https://prnt.sc/sKInzBt4iCZW

    thank you for your attention

Viewing 1 replies (of 1 total)
  • largbasket

    (@largbasket)

    Dear @manchumahara

    Thank you for bringing this issue to our attention. We appreciate your thorough investigation and explanation of the behavior you encountered while working on your WordPress setup with the Tutor plugin.

    We appreciate your feedback and concern regarding potential conflicts with other plugins. Adhering to established standards and using unique prefixes will help ensure compatibility and prevent such conflicts from occurring.

    We value your input, and we will take your suggestion into consideration for future updates of the Tutor plugin. Our aim is to provide a seamless integration experience and avoid any conflicts with other plugins in the WordPress ecosystem.

    Thank you once again for bringing this matter to our attention. Your feedback is instrumental in helping us improve the Tutor plugin and deliver a better experience to our users.

Viewing 1 replies (of 1 total)

The topic ‘Bug or Need improvement’ is closed to new replies.