Title: Fix for the wp_enqueue_scripts notice
Last modified: August 21, 2016

---

# Fix for the wp_enqueue_scripts notice

 *  [sd_martha](https://wordpress.org/support/users/sd_martha/)
 * (@sd_martha)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fix-for-the-wp_enqueue_scripts-notice/)
 * Since this plugin is no longer maintained. I figured, I’d help out the next person
   looking for help regarding the `wp_enqueue_scripts` notice.
 * Find the following code:
 *     ```
       // Load jQuery
       wp_enqueue_script('jquery');
       ```
   
 * Replace it with the following:
 *     ```
       // Load jQuery
       function hide_this_part_enqueue_scripts() {
       	wp_enqueue_script('jquery');
       }
       add_action('wp_enqueue_scripts', 'hide_this_part_enqueue_scripts');
       ```
   
 * That should fix it.
 * [https://wordpress.org/plugins/hide-this-part/](https://wordpress.org/plugins/hide-this-part/)

The topic ‘Fix for the wp_enqueue_scripts notice’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hide-this-part.svg)
 * [Hide This Part](https://wordpress.org/plugins/hide-this-part/)
 * [Support Threads](https://wordpress.org/support/plugin/hide-this-part/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-this-part/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-this-part/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-this-part/reviews/)

## Tags

 * [bug fix](https://wordpress.org/support/topic-tag/bug-fix/)
 * [wp_enqueue_scripts](https://wordpress.org/support/topic-tag/wp_enqueue_scripts/)

 * 0 replies
 * 1 participant
 * Last reply from: [sd_martha](https://wordpress.org/support/users/sd_martha/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/fix-for-the-wp_enqueue_scripts-notice/)
 * Status: not resolved