Plugin Directory

Changeset 2445315


Ignore:
Timestamp:
12/24/2020 12:25:01 AM (5 years ago)
Author:
mrdigital
Message:

Small updates

Location:
simple-image-popup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • simple-image-popup/trunk/readme.txt

    r2445311 r2445315  
    99Tested up to: 5.6
    1010Requires PHP: 7.0
    11 Stable tag: 1.3.3
     11Stable tag: 1.3.4
    1212License: GPLv2 or later
    1313License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • simple-image-popup/trunk/simple-image-popup.php

    r2445313 r2445315  
    88 * License: GPL v2 or later
    99 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    10  * Version: 1.3.3
     10 * Version: 1.3.4
    1111 */
    1212
     
    3838            wp_enqueue_style('magnific-css');
    3939
     40            wp_register_script('magnific-js', plugin_dir_url(__FILE__) . 'js/jquery.magnific-popup.min.js', 'jquery', false, true);
     41            wp_enqueue_script('magnific-js');
     42
    4043            wp_register_style('simple-image-popup', plugin_dir_url(__FILE__) . '/css/simple-image-popup.css', array(), false, 'all');
    4144            wp_enqueue_style('simple-image-popup');
    4245
    43             wp_register_script('jquery-cookie', plugin_dir_url(__FILE__) . 'js/jquery.cookie.js', 'jquery', false, true);
    44             wp_enqueue_script('jquery-cookie');
    45 
    46             wp_register_script('magnific-js', plugin_dir_url(__FILE__) . 'js/jquery.magnific-popup.min.js', 'jquery', false, true);
    47             wp_enqueue_script('magnific-js');
    4846        }
    4947
Note: See TracChangeset for help on using the changeset viewer.