[Plugin: Site Page Tree] jQuery dependency
In the new version, jQuery is now required for some functionality. However, jQuery is not listed as a dependency in the wp_register_script call, causing it to fail if no other plugin has called jQuery.
I changed line 29 to:
wp_register_script('site-page-tree-script', WP_PLUGIN_URL . '/site-page-tree/site-page-tree.js', array('jquery'));
- The topic ‘[Plugin: Site Page Tree] jQuery dependency’ is closed to new replies.