Site Page Tree
jQuery dependency (1 post)

  1. iNexi
    Posted 3 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'));


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Site Page Tree
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic