WordPress.org

Support

Support » Plugins and Hacks » Site Page Tree » [Plugin: Site Page Tree] jQuery dependency

[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'));

    http://wordpress.org/extend/plugins/site-page-tree/

  • The topic ‘[Plugin: Site Page Tree] jQuery dependency’ is closed to new replies.
Skip to toolbar