Could you comment this out until there's something in the file to execute? As it stands now the file seems to be just a placeholder and has no executable code. As such there's no reason to enqueue this script since it's just adding another resource to sites that use it and isn't providing any functionality.
|
wp_enqueue_script($this->wp_hide_post, plugin_dir_url(__FILE__) . 'js/wp-hide-post-public.js', array('jquery'), $this->version, false); |
Could you comment this out until there's something in the file to execute? As it stands now the file seems to be just a placeholder and has no executable code. As such there's no reason to enqueue this script since it's just adding another resource to sites that use it and isn't providing any functionality.
wp-hide-post/public/class-wp-hide-post-public.php
Line 113 in 9be7691