Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Substitute lines 328-331 in the file custom-taxonomy-sort.php with the following. Hopefully this fix will make it into the next version of the plugin.

    if (
    	isset( $args['orderby'] ) &&
    	(
    		( $args['orderby'] == $this->orderby_parameter && $args['order'] == 'DESC' ) ||
    		( $args['orderby'] != $this->orderby_parameter && $this->get_sort_order() == 'DESC' )
    	)
    ) krsort( $ordered_terms );

    This has been driving me nuts for ages and I finally decided to do something about it today. Like you I was having random JS problems, both in the dashboard and with posts (couldn’t add tags). The problem is definitely with the Events Calendar plugin, but not for the reason you said. I don’t think the ampersands have anything to do with it.

    Instead, it looks to be a conflict with the jQuery plugins being loaded by WPEC. It loads a plugin called jquery.dimensions.js, which according to the jQuery site and this WPEC’s own inline code comments, is deprecated since jQuery 1.2.6 as they moved its functionality into the core. When I commented out that script the problems went away.

    WPEC loads that script in two places, both in the file events-calendar.php on lines 158 and 203. Comment out those two lines and your JS in the admin panels starts to work again.

    I have NO idea how this change will affect the plugin. In my own site I only use the SidebarEventsList() function to display a list of events and that certainly doesn’t require all the JS that the plugin tries to load.

    Hope that helps.

Viewing 2 replies - 1 through 2 (of 2 total)