Plugin Directory

Changeset 3419375


Ignore:
Timestamp:
12/14/2025 01:30:54 PM (3 months ago)
Author:
ThemeZee
Message:

Update to version 1.6.1
Fixes PHP warning

Location:
themezee-widget-bundle
Files:
33 added
3 edited

Legend:

Unmodified
Added
Removed
  • themezee-widget-bundle/trunk/includes/settings/class-tzwb-settings.php

    r2822207 r3419375  
    8989         */
    9090        public function default_settings() {
    91 
    92             $default_settings = array();
    93 
    94             foreach ( $this->get_registered_settings() as $key => $option ) :
    95 
    96                 if ( 'multicheck' == $option['type'] ) :
    97 
    98                     foreach ( $option['options'] as $index => $value ) :
    99 
    100                         $default_settings[ $key ][ $index ] = isset( $option['default'] ) ? $option['default'] : false;
    101 
    102                     endforeach;
    103 
    104                 else :
    105 
    106                     $default_settings[ $key ] = isset( $option['default'] ) ? $option['default'] : false;
    107 
    108                 endif;
    109 
    110             endforeach;
    111 
    112             return $default_settings;
     91            return [
     92                'recent_comments' => true,
     93                'recent_posts' => true,
     94                'social_icons' => true,
     95                'tabbed_content' => true,
     96                'widget_visibility' => false,
     97            ];
    11398        }
    11499
  • themezee-widget-bundle/trunk/readme.txt

    r2822207 r3419375  
    55Tags: Widget, ThemeZee, Recent Posts, Recent Comments, Social Icons, Tab Widget
    66Requires at least: 5.2
    7 Tested up to: 6.1
    8 Stable tag: 1.6
     7Tested up to: 6.9
     8Stable tag: 1.6.1
    99License: GPLv2 or later
    1010
     
    4141
    4242== Changelog ==
     43
     44= 1.6.1 =
     45
     46* Fix PHP warning
    4347
    4448= 1.6 =
  • themezee-widget-bundle/trunk/themezee-widget-bundle.php

    r2822207 r3419375  
    77 * Author: ThemeZee
    88 * Author URI: https://themezee.com/
    9  * Version: 1.6
     9 * Version: 1.6.1
    1010 * Text Domain: themezee-widget-bundle
    1111 * Domain Path: /languages/
     
    1414 *
    1515 * @package ThemeZee Widget Bundle
    16  * Copyright(C) 2022, ThemeZee.com - support@themezee.com
     16 * Copyright(C) 2025, ThemeZee.com - support@themezee.com
    1717 */
    1818
     
    7575
    7676        // Define Version Number.
    77         define( 'TZWB_VERSION', '1.5.2' );
     77        define( 'TZWB_VERSION', '1.6.1' );
    7878
    7979        // Plugin Folder Path.
Note: See TracChangeset for help on using the changeset viewer.