Suggestions for code
-
Took a look at the code when evaluating the plugin for a client site, some suggestions:
- use proper dependencies to ‘jquery’ in wp_enqueue_script() calls for front.js and jquery-ui scripts
- use existing WordPress core components instead of adding an own version of jquery-ui
- check if WordPress core components of jquery-ui are already enqueued before adding own versions
Thanks for your plugin.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Suggestions for code’ is closed to new replies.