Plugin Directory


Opened 9 years ago

Last modified 9 years ago

#968 new enhancement

Use wp_enqueue_script to load scriptaculous-effects

Reported by: jczorkmid Owned by: acurran
Priority: normal Severity: normal
Plugin: flexi-pages-widget Keywords:


Currently the plugin prints the scripts directly to the header. This is problematic if:

a) the site is using a plugin to load scriptaculous, etc. from a CDN
b) the site is using another plugin that /is/ equeueing these scripts, as they will be loaded twice.

I'm attaching a patch (tested with 2.7.1 with and without the use-google-libraries plugin).

Attachments (1)

equeue.patch (2.7 KB) - added by jczorkmid 9 years ago.
patch to use wp_enqueue_script

Download all attachments as: .zip

Change History (2)

@jczorkmid9 years ago

patch to use wp_enqueue_script

comment:1 @jczorkmid9 years ago

  • Owner changed from SriniG to acurran
Note: See TracTickets for help on using tickets.