Plugin Directory

Changeset 2725659


Ignore:
Timestamp:
05/17/2022 09:23:39 PM (4 years ago)
Author:
themely
Message:

Fixed missing method in showcase_widget.php file

Location:
serenity-theme-extensions/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • serenity-theme-extensions/trunk/readme.txt

    r2475019 r2725659  
    22
    33Contributors: themely
    4 Tags:
    5 Requires at least: 3.8
    6 Tested up to: 5.6.1
    7 Stable tag: 1.1.1
     4Tags: serenity, theme, extensions
     5Requires at least: 4.9
     6Tested up to: 5.9.3
     7Stable tag: 1.1.2
    88Requires PHP: 5.6
    99License: GPLv2 or later
  • serenity-theme-extensions/trunk/serenity-extensions.php

    r2475019 r2725659  
    44Plugin URI: https://www.themely.com/themes/serenity/
    55Description: This plugin adds custom widgets required by the Serenity WordPress theme developed by Themely.
    6 Version: 1.1.1
     6Version: 1.1.2
    77Author: Themely
    88Author URI: https://www.themely.com
  • serenity-theme-extensions/trunk/widgets/feature_widget.php

    r2417334 r2725659  
    1515
    1616        // This is where we add the style and script
    17         add_action( 'load-widgets.php', array(&$this, 'serenity_lite_widgets_color_picker') );
     17        add_action( 'load-widgets.php', array($this, 'serenity_lite_widgets_color_picker') );
    1818
    1919        $widget_ops = array(
  • serenity-theme-extensions/trunk/widgets/showcase_widget.php

    r2061718 r2725659  
    1515
    1616        // This is where we add the style and script
    17         add_action( 'load-widgets.php', array(&$this, 'serenity_lite_widgets_color_picker') );
     17        add_action( 'load-widgets.php', array($this, 'serenity_lite_widgets_color_picker') );
    1818
    1919        $widget_ops = array(
     
    3131            'textarea'   => '',
    3232        );
     33    }
     34
     35    /**
     36     * Enqueue the color picker styles and script.
     37     **/
     38    function serenity_lite_widgets_color_picker() {   
     39        wp_enqueue_style( 'wp-color-picker' );       
     40        wp_enqueue_script( 'wp-color-picker' );   
    3341    }
    3442   
Note: See TracChangeset for help on using the changeset viewer.