Title: Suggestions for code
Last modified: November 7, 2019

---

# Suggestions for code

 *  [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/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](https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-included-and-registered-by-wordpress)
      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)

 *  Thread Starter [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/suggestions-for-code/#post-12106947)
 * And a small bug, two class attributes are added to `<div class="occf7rs_slider"..
   >` in frontend html.
 *  [aradadiya163](https://wordpress.org/support/users/aradadiya163/)
 * (@aradadiya163)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/suggestions-for-code/#post-12120670)
 * thank you for suggestion

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Suggestions for code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/range-slider-contact-form-7.svg)
 * [Range Slider Contact Form 7](https://wordpress.org/plugins/range-slider-contact-form-7/)
 * [Support Threads](https://wordpress.org/support/plugin/range-slider-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/range-slider-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/range-slider-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/range-slider-contact-form-7/reviews/)

## Tags

 * [Collision](https://wordpress.org/support/topic-tag/collision/)

 * 2 replies
 * 2 participants
 * Last reply from: [aradadiya163](https://wordpress.org/support/users/aradadiya163/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/suggestions-for-code/#post-12120670)
 * Status: not resolved