Plugin Directory

Changeset 1799724


Ignore:
Timestamp:
01/09/2018 02:03:45 PM (8 years ago)
Author:
schneiders
Message:

irecharge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irechargevendor/trunk/iRecharge_plugin.php

    r1798245 r1799724  
    218218{
    219219    wp_register_script('irecharge_pluginscript.js',plugins_url('js/irecharge_pluginscript.js',_FILE_), array('jquery'), '', true);
    220     wp_register_script('bootstrap.min.js',plugins_url('js/bootstrap.min.js',_FILE_), array('jquery'), '', true);
    221     wp_register_script('irecharge_jquerycookie.js',plugins_url('js/jquery_cookie.js',_FILE_), array('jquery'), '', true);
     220    wp_register_scripts('bootstrap.min.js',plugins_url('js/bootstrap.min.js',_FILE_), array('jquery'), '', true);
     221    wp_register_scripts('irecharge_jquerycookie.js',plugins_url('js/jquery_cookie.js',_FILE_), array('jquery'), '', true);
    222222    wp_register_style( 'irecharge_pluginstyle.css', plugins_url('css/irecharge_pluginstyle.css', _FILE_ ), array());
    223223    wp_register_style( 'bootstrap.min.css', plugins_url('css/bootstrap.min.css', _FILE_ ), array());
    224224
    225     wp_enqueue_script('jquery');
    226     wp_enqueue_script('irecharge_jquerycookie.js');
    227     wp_enqueue_script('irecharge_pluginscript.js');
     225    wp_enqueue_scripts('jquery');
     226    wp_enqueue_scripts('irecharge_jquerycookie.js');
     227    wp_enqueue_scripts('irecharge_pluginscript.js');
    228228    wp_enqueue_style('irecharge_pluginstyle.css');
    229     wp_enqueue_script('bootstrap.min.js');
     229    wp_enqueue_scripts('bootstrap.min.js');
    230230    wp_enqueue_style('bootstrap.min.css');
    231231   
Note: See TracChangeset for help on using the changeset viewer.