WordPress.org

Ready to get started?Download WordPress

Forums

Site Page Tree
jQuery dependency (1 post)

  1. iNexi
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic