Plugin Directory

Changeset 3199854


Ignore:
Timestamp:
11/30/2024 11:27:44 AM (16 months ago)
Author:
pluginandplay
Message:
  • Update to version 3.2.8
  • Fix textdomain notice in WP 6.7
Location:
logo-showcase-with-slick-slider
Files:
282 added
4 edited

Legend:

Unmodified
Added
Removed
  • logo-showcase-with-slick-slider/trunk/includes/admin/metabox/lswss-sett-metabox.php

    r2699151 r3199854  
    2121$gallery_imgs           = get_post_meta( $post->ID, $prefix.'gallery_id', true );
    2222$display_type           = get_post_meta( $post->ID, $prefix.'display_type', true );
     23$display_type           = isset( $display_type_list[ $display_type ] ) ? $display_type : 'slider';
    2324$post_sett              = lswss_get_post_sett( $post->ID );
    2425
  • logo-showcase-with-slick-slider/trunk/includes/shortcode/lswss-shortcodes.php

    r2661562 r3199854  
    3535
    3636    // Getting logo display type
    37     $prefix         = LSWSS_META_PREFIX;
    38     $display_type   = get_post_meta( $atts['id'], $prefix.'display_type', true );
    39     $display_type   = ! empty( $display_type ) ? $display_type : 'slider';
     37    $prefix             = LSWSS_META_PREFIX;
     38    $display_type_list  = lswss_display_type();
     39    $display_type       = get_post_meta( $atts['id'], $prefix.'display_type', true );
     40    $display_type       = isset( $display_type_list[ $display_type ] ) ? $display_type : 'slider';
    4041
    4142    // Template Variables
  • logo-showcase-with-slick-slider/trunk/logo-showcase-with-slick-slider.php

    r3192613 r3199854  
    99 * Requires at least: 4.7
    1010 * Requires PHP: 5.4
    11  * Version: 3.2.7
     11 * Version: 3.2.8
    1212 * Author URI: https://premium.infornweb.com
    1313 *
     
    5656                self::$instance->setup_constants();
    5757
    58                 // For translation
    59                 add_action( 'plugins_loaded', array( self::$instance, 'lswss_plugins_loaded' ) );
    60 
    6158                self::$instance->includes(); // Including required files
    6259                self::$instance->init_hooks();
    6360
    6461                self::$instance->scripts = new Lswss_Scripts(); // Script Class
     62
     63                // For translation
     64                add_action( 'init', array( self::$instance, 'lswss_init_processes' ) );
     65                add_action( 'plugins_loaded', array( self::$instance, 'lswss_plugins_loaded' ) );
    6566            }
    6667
     
    8889        private function setup_constants() {
    8990
    90             $this->define( 'LSWSS_VERSION', '3.2.7' ); // Version of plugin
     91            $this->define( 'LSWSS_VERSION', '3.2.8' ); // Version of plugin
    9192            $this->define( 'LSWSS_FILE', __FILE__ );
    9293            $this->define( 'LSWSS_DIR', dirname( __FILE__ ) );
     
    126127
    127128        /**
    128          * Do stuff once all the plugin has been loaded
    129          *
    130          * @since 1.0
    131          */
    132         public function lswss_plugins_loaded() {
     129         * Prior init processes
     130         *
     131         * @since 1.0
     132         */
     133        public function lswss_init_processes() {
    133134
    134135            // Load Plugin Text Domain
    135136            $this->lswss_load_textdomain();
     137        }
     138
     139        /**
     140         * Do stuff once all the plugin has been loaded
     141         *
     142         * @since 1.0
     143         */
     144        public function lswss_plugins_loaded() {
    136145
    137146            // Plugin Menu Label
  • logo-showcase-with-slick-slider/trunk/readme.txt

    r3192613 r3199854  
    33Tags: logo showcase, logo slider, logo carousel, client logo slider, client logo carousel
    44Requires at least: 4.7
    5 Tested up to: 6.7
     5Tested up to: 6.7.1
    66Requires PHP: 5.4
    7 Stable tag: 3.2.7
     7Stable tag: 3.2.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    151151== Changelog ==
    152152
     153= 3.2.8 (30 Nov, 2024) =
     154* [*] Fixed translation loading notice in WordPress 6.7
     155
    153156= 3.2.7 (20 Nov, 2024) =
    154157* [*] Check compatibility with WordPress 6.7
Note: See TracChangeset for help on using the changeset viewer.