Plugin Directory

Changeset 3222687


Ignore:
Timestamp:
01/15/2025 08:45:11 AM (13 months ago)
Author:
themefusecom
Message:

Version 2.6.6

Location:
brizy
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • brizy/tags/2.6.6/README.md

    r3222672 r3222687  
    55Tested up to: 6.7.1<br>
    66Requires PHP: 7.2.24<br>
    7 Stable tag: 2.6.5<br>
     7Stable tag: 2.6.6<br>
    88License: GPLv3<br>
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    137137## Changelog
    138138
    139 ### 2.6.5 - 2025-01-15
    140 * New: Collapsible tabs in add elements in left sidebar
    141 * New: Possibility to register custom tabs in left sidebar for third party
    142 * Improved: CSS generator returns less CSS
    143 * Improved: CSS generator generates less dynamic classNames
    144 * Improved: Editor codebase
    145 * Fixed: Effects stops when toolbar open on section
    146 * Fixed: Conflicting styles with Astra theme
    147 * Fixed: Alignment of icon in IconBox element
    148 * Fixed: Images does not load in preview
    149 * Fixed: Translation for slideshow positions
    150 * Fixed: Image size in lightbox
    151 * Fixed: Update button status when a global popup is added
    152 * Fixed: Section overlay color with slideshow option
    153 * Fixed: Motion option default value for third party
    154 * Fixed: Input sanitization
    155 * Fixed: Unable to add image to Brizy pages on GoDaddy
     139### 2.6.6 - 2025-01-15
     140* Fixed: Image side load
    156141
    157142### 2.6.4 - 2024-12-17
  • brizy/tags/2.6.6/brizy.php

    r3222672 r3222687  
    66 * Author: Brizy.io
    77 * Author URI: https://brizy.io/
    8  * Version: 2.6.5
     8 * Version: 2.6.6
    99 * Text Domain: brizy
    1010 * License: GPLv3
     
    1414 * This will fix the url protocol for websites that are working behind a load balancer
    1515 */
    16 if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && stripos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) {
    17     $_SERVER['HTTPS'] = 'on';
     16if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && stripos( $_SERVER['HTTP_X_FORWARDED_PROTO'], 'https' ) !== false ) {
     17    $_SERVER['HTTPS'] = 'on';
    1818}
    1919
    20 define('BRIZY_DEVELOPMENT', false );
    21 define('BRIZY_LOG', false );
    22 define('BRIZY_VERSION', '2.6.5');
    23 define('BRIZY_MINIMUM_PRO_VERSION', '2.4.15');
    24 define('BRIZY_MINIMUM_COMPILER_VERSION', '300-wp');
    25 define('BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '303-wp' );
    26 define('BRIZY_SYNC_VERSION', '303');
    27 define('BRIZY_FILE', __FILE__);
    28 define('BRIZY_PLUGIN_BASE', plugin_basename(BRIZY_FILE));
    29 define('BRIZY_PLUGIN_PATH', dirname(BRIZY_FILE));
    30 define('BRIZY_PLUGIN_URL', rtrim(plugin_dir_url(BRIZY_FILE), "/"));
    31 define('BRIZY_MAX_REVISIONS_TO_KEEP', 30);
     20define( 'BRIZY_DEVELOPMENT', false );
     21define( 'BRIZY_LOG', false );
     22define( 'BRIZY_VERSION', '2.6.6' );
     23define( 'BRIZY_MINIMUM_PRO_VERSION', '2.4.15' );
     24define( 'BRIZY_MINIMUM_COMPILER_VERSION', '300-wp' );
     25define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '303-wp' );
     26define( 'BRIZY_SYNC_VERSION', '303' );
     27define( 'BRIZY_FILE', __FILE__ );
     28define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
     29define( 'BRIZY_PLUGIN_PATH', dirname( BRIZY_FILE ) );
     30define( 'BRIZY_PLUGIN_URL', rtrim( plugin_dir_url( BRIZY_FILE ), "/" ) );
     31define( 'BRIZY_MAX_REVISIONS_TO_KEEP', 30 );
    3232
    33 include_once rtrim(BRIZY_PLUGIN_PATH, "/").'/autoload.php';
    34 include_once rtrim(BRIZY_PLUGIN_PATH, "/").'/languages/main.php';
     33include_once rtrim( BRIZY_PLUGIN_PATH, "/" ) . '/autoload.php';
     34include_once rtrim( BRIZY_PLUGIN_PATH, "/" ) . '/languages/main.php';
     35require_once( ABSPATH . '/wp-admin/includes/file.php' );
     36require_once( ABSPATH . '/wp-admin/includes/media.php' );
     37require_once( ABSPATH . '/wp-admin/includes/image.php' );
    3538
    36 if (BRIZY_DEVELOPMENT) {
    37     $dotenv = new \Symfony\Component\Dotenv\Dotenv('APP_ENV');
    38     $dotenv->load(__DIR__.'/.env');
     39if ( BRIZY_DEVELOPMENT ) {
     40    $dotenv = new \Symfony\Component\Dotenv\Dotenv( 'APP_ENV' );
     41    $dotenv->load( __DIR__ . '/.env' );
    3942}
    4043
    41 add_action('plugins_loaded', 'brizy_load');
    42 add_action('init', 'brizy_load_text_domain');
    43 add_action('upgrader_process_complete', 'brizy_upgrade_completed', 10, 2);
    44 add_action('activated_plugin', 'Brizy_Admin_GettingStarted::redirectAfterActivation');
     44add_action( 'plugins_loaded', 'brizy_load' );
     45add_action( 'init', 'brizy_load_text_domain' );
     46add_action( 'upgrader_process_complete', 'brizy_upgrade_completed', 10, 2 );
     47add_action( 'activated_plugin', 'Brizy_Admin_GettingStarted::redirectAfterActivation' );
    4548
    46 register_activation_hook(BRIZY_FILE, 'brizy_install');
    47 register_deactivation_hook(BRIZY_FILE, 'brizy_clean');
     49register_activation_hook( BRIZY_FILE, 'brizy_install' );
     50register_deactivation_hook( BRIZY_FILE, 'brizy_clean' );
    4851
    49 function brizy_load()
    50 {
     52function brizy_load() {
    5153
    52     try {
    53         $instance = Brizy_Editor::get();
    54     } catch (Exception $e) {
    55         add_action('admin_notices', 'brizy_fail_notices');
     54    try {
     55        $instance = Brizy_Editor::get();
     56    } catch ( Exception $e ) {
     57        add_action( 'admin_notices', 'brizy_fail_notices' );
    5658
    57         return;
    58     }
     59        return;
     60    }
    5961
    60     if (apply_filters('brizy_allow_plugin_included', true)) {
    61         do_action('brizy_plugin_included');
    62     }
     62    if ( apply_filters( 'brizy_allow_plugin_included', true ) ) {
     63        do_action( 'brizy_plugin_included' );
     64    }
    6365}
    6466
    65 function brizy_notices()
    66 {
    67     ?>
     67function brizy_notices() {
     68    ?>
    6869    <div class="notice notice-error is-dismissible">
    6970        <p>
    70             <?php
    71             printf(
    72                 __(
    73                     '%1$s requires PHP version 5.6+, your currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>',
    74                     'brizy'
    75                 ),
    76                 __bt('brizy', 'Brizy'),
    77                 PHP_VERSION,
    78                 strtoupper(__bt('brizy', 'Brizy'))
    79             );
    80             ?>
     71            <?php
     72            printf(
     73                __(
     74                    '%1$s requires PHP version 5.6+, your currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>',
     75                    'brizy'
     76                ),
     77                __bt( 'brizy', 'Brizy' ),
     78                PHP_VERSION,
     79                strtoupper( __bt( 'brizy', 'Brizy' ) )
     80            );
     81            ?>
    8182        </p>
    8283    </div>
    83     <?php
     84    <?php
    8485}
    8586
    86 function brizy_fail_notices()
    87 {
    88     ?>
     87function brizy_fail_notices() {
     88    ?>
    8989    <div class="notice notice-error is-dismissible">
    9090        <p>
    91             <?php
    92             printf(
    93                 __('%1$s failed to start. Please contact the support <a href="%s">here</a>.', 'brizy'),
    94                 __bt('brizy', 'Brizy'),
    95                 apply_filters('brizy_support_url', Brizy_Config::getSupportUrl()),
    96                 strtoupper(__bt('brizy', 'Brizy'))
    97             );
    98             ?>
     91            <?php
     92            printf(
     93                __( '%1$s failed to start. Please contact the support <a href="%s">here</a>.', 'brizy' ),
     94                __bt( 'brizy', 'Brizy' ),
     95                apply_filters( 'brizy_support_url', Brizy_Config::getSupportUrl() ),
     96                strtoupper( __bt( 'brizy', 'Brizy' ) )
     97            );
     98            ?>
    9999        </p>
    100100    </div>
    101     <?php
     101    <?php
    102102}
    103103
    104104
    105 function brizy_upgrade_completed($upgrader_object, $options)
    106 {
    107     if ($options['action'] == 'update' && $options['type'] == 'plugin' && isset($options['plugins'])) {
    108         foreach ($options['plugins'] as $plugin) {
    109             if ($plugin == BRIZY_PLUGIN_BASE) {
    110                 add_option('brizy-regenerate-permalinks', 1);
    111                 do_action('brizy-updated');
    112             }
    113         }
    114     }
     105function brizy_upgrade_completed( $upgrader_object, $options ) {
     106    if ( $options['action'] == 'update' && $options['type'] == 'plugin' && isset( $options['plugins'] ) ) {
     107        foreach ( $options['plugins'] as $plugin ) {
     108            if ( $plugin == BRIZY_PLUGIN_BASE ) {
     109                add_option( 'brizy-regenerate-permalinks', 1 );
     110                do_action( 'brizy-updated' );
     111            }
     112        }
     113    }
    115114}
    116115
    117 function brizy_install()
    118 {
    119     Brizy_Logger::install();
    120     add_option('brizy-regenerate-permalinks', 1);
    121     do_action('brizy-activated');
    122     set_transient('brizy_admin_notice', true, 7200);
     116function brizy_install() {
     117    Brizy_Logger::install();
     118    add_option( 'brizy-regenerate-permalinks', 1 );
     119    do_action( 'brizy-activated' );
     120    set_transient( 'brizy_admin_notice', true, 7200 );
    123121}
    124122
    125 function brizy_clean()
    126 {
    127     Brizy_Logger::clean();
    128     add_option('brizy-regenerate-permalinks', 1);
    129     do_action('brizy-deactivated');
     123function brizy_clean() {
     124    Brizy_Logger::clean();
     125    add_option( 'brizy-regenerate-permalinks', 1 );
     126    do_action( 'brizy-deactivated' );
    130127}
    131128
    132 function brizy_load_text_domain()
    133 {
    134     load_plugin_textdomain('brizy', false, dirname(plugin_basename(__FILE__)).'/languages');
     129function brizy_load_text_domain() {
     130    load_plugin_textdomain( 'brizy', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    135131}
    136132
  • brizy/tags/2.6.6/languages/brizy.pot

    r3222672 r3222687  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Brizy 2.6.5\n"
     5"Project-Id-Version: Brizy 2.6.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/workspace\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-01-15T08:12:15+00:00\n"
     12"POT-Creation-Date: 2025-01-15T08:43:49+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    798798msgstr ""
    799799
    800 #: brizy.php:72
     800#: brizy.php:73
    801801msgid "%1$s requires PHP version 5.6+, your currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>"
    802802msgstr ""
  • brizy/tags/2.6.6/readme.txt

    r3222672 r3222687  
    55Tested up to: 6.7.1
    66Requires PHP: 7.2.24
    7 Stable tag: 2.6.5
     7Stable tag: 2.6.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    134134== Changelog ==
    135135
    136 = 2.6.5 - 2025-01-15 =
    137 * New: Collapsible tabs in add elements in left sidebar
    138 * New: Possibility to register custom tabs in left sidebar for third party
    139 * Improved: CSS generator returns less CSS
    140 * Improved: CSS generator generates less dynamic classNames
    141 * Improved: Editor codebase
    142 * Fixed: Effects stops when toolbar open on section
    143 * Fixed: Conflicting styles with Astra theme
    144 * Fixed: Alignment of icon in IconBox element
    145 * Fixed: Images does not load in preview
    146 * Fixed: Translation for slideshow positions
    147 * Fixed: Image size in lightbox
    148 * Fixed: Update button status when a global popup is added
    149 * Fixed: Section overlay color with slideshow option
    150 * Fixed: Motion option default value for third party
    151 * Fixed: Input sanitization
    152 * Fixed: Unable to add image to Brizy pages on GoDaddy
     136= 2.6.6 - 2025-01-15 =
     137* Fixed: Image side load
    153138
    154139= 2.6.4 - 2024-12-17 =
  • brizy/tags/2.6.6/vendor/composer/installed.php

    r3222672 r3222687  
    44        'pretty_version' => 'dev-develop',
    55        'version' => 'dev-develop',
    6         'reference' => 'c3b7e49a093ef159f8235e95c32b81e0ece8cf10',
     6        'reference' => '1460cf5adc7bf72fd17083c8aff2107921e324fd',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    4343            'pretty_version' => 'dev-develop',
    4444            'version' => 'dev-develop',
    45             'reference' => 'c3b7e49a093ef159f8235e95c32b81e0ece8cf10',
     45            'reference' => '1460cf5adc7bf72fd17083c8aff2107921e324fd',
    4646            'type' => 'library',
    4747            'install_path' => __DIR__ . '/../../',
  • brizy/trunk/README.md

    r3222672 r3222687  
    55Tested up to: 6.7.1<br>
    66Requires PHP: 7.2.24<br>
    7 Stable tag: 2.6.5<br>
     7Stable tag: 2.6.6<br>
    88License: GPLv3<br>
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    137137## Changelog
    138138
    139 ### 2.6.5 - 2025-01-15
    140 * New: Collapsible tabs in add elements in left sidebar
    141 * New: Possibility to register custom tabs in left sidebar for third party
    142 * Improved: CSS generator returns less CSS
    143 * Improved: CSS generator generates less dynamic classNames
    144 * Improved: Editor codebase
    145 * Fixed: Effects stops when toolbar open on section
    146 * Fixed: Conflicting styles with Astra theme
    147 * Fixed: Alignment of icon in IconBox element
    148 * Fixed: Images does not load in preview
    149 * Fixed: Translation for slideshow positions
    150 * Fixed: Image size in lightbox
    151 * Fixed: Update button status when a global popup is added
    152 * Fixed: Section overlay color with slideshow option
    153 * Fixed: Motion option default value for third party
    154 * Fixed: Input sanitization
    155 * Fixed: Unable to add image to Brizy pages on GoDaddy
     139### 2.6.6 - 2025-01-15
     140* Fixed: Image side load
    156141
    157142### 2.6.4 - 2024-12-17
  • brizy/trunk/brizy.php

    r3222672 r3222687  
    66 * Author: Brizy.io
    77 * Author URI: https://brizy.io/
    8  * Version: 2.6.5
     8 * Version: 2.6.6
    99 * Text Domain: brizy
    1010 * License: GPLv3
     
    1414 * This will fix the url protocol for websites that are working behind a load balancer
    1515 */
    16 if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && stripos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) {
    17     $_SERVER['HTTPS'] = 'on';
     16if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && stripos( $_SERVER['HTTP_X_FORWARDED_PROTO'], 'https' ) !== false ) {
     17    $_SERVER['HTTPS'] = 'on';
    1818}
    1919
    20 define('BRIZY_DEVELOPMENT', false );
    21 define('BRIZY_LOG', false );
    22 define('BRIZY_VERSION', '2.6.5');
    23 define('BRIZY_MINIMUM_PRO_VERSION', '2.4.15');
    24 define('BRIZY_MINIMUM_COMPILER_VERSION', '300-wp');
    25 define('BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '303-wp' );
    26 define('BRIZY_SYNC_VERSION', '303');
    27 define('BRIZY_FILE', __FILE__);
    28 define('BRIZY_PLUGIN_BASE', plugin_basename(BRIZY_FILE));
    29 define('BRIZY_PLUGIN_PATH', dirname(BRIZY_FILE));
    30 define('BRIZY_PLUGIN_URL', rtrim(plugin_dir_url(BRIZY_FILE), "/"));
    31 define('BRIZY_MAX_REVISIONS_TO_KEEP', 30);
     20define( 'BRIZY_DEVELOPMENT', false );
     21define( 'BRIZY_LOG', false );
     22define( 'BRIZY_VERSION', '2.6.6' );
     23define( 'BRIZY_MINIMUM_PRO_VERSION', '2.4.15' );
     24define( 'BRIZY_MINIMUM_COMPILER_VERSION', '300-wp' );
     25define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '303-wp' );
     26define( 'BRIZY_SYNC_VERSION', '303' );
     27define( 'BRIZY_FILE', __FILE__ );
     28define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
     29define( 'BRIZY_PLUGIN_PATH', dirname( BRIZY_FILE ) );
     30define( 'BRIZY_PLUGIN_URL', rtrim( plugin_dir_url( BRIZY_FILE ), "/" ) );
     31define( 'BRIZY_MAX_REVISIONS_TO_KEEP', 30 );
    3232
    33 include_once rtrim(BRIZY_PLUGIN_PATH, "/").'/autoload.php';
    34 include_once rtrim(BRIZY_PLUGIN_PATH, "/").'/languages/main.php';
     33include_once rtrim( BRIZY_PLUGIN_PATH, "/" ) . '/autoload.php';
     34include_once rtrim( BRIZY_PLUGIN_PATH, "/" ) . '/languages/main.php';
     35require_once( ABSPATH . '/wp-admin/includes/file.php' );
     36require_once( ABSPATH . '/wp-admin/includes/media.php' );
     37require_once( ABSPATH . '/wp-admin/includes/image.php' );
    3538
    36 if (BRIZY_DEVELOPMENT) {
    37     $dotenv = new \Symfony\Component\Dotenv\Dotenv('APP_ENV');
    38     $dotenv->load(__DIR__.'/.env');
     39if ( BRIZY_DEVELOPMENT ) {
     40    $dotenv = new \Symfony\Component\Dotenv\Dotenv( 'APP_ENV' );
     41    $dotenv->load( __DIR__ . '/.env' );
    3942}
    4043
    41 add_action('plugins_loaded', 'brizy_load');
    42 add_action('init', 'brizy_load_text_domain');
    43 add_action('upgrader_process_complete', 'brizy_upgrade_completed', 10, 2);
    44 add_action('activated_plugin', 'Brizy_Admin_GettingStarted::redirectAfterActivation');
     44add_action( 'plugins_loaded', 'brizy_load' );
     45add_action( 'init', 'brizy_load_text_domain' );
     46add_action( 'upgrader_process_complete', 'brizy_upgrade_completed', 10, 2 );
     47add_action( 'activated_plugin', 'Brizy_Admin_GettingStarted::redirectAfterActivation' );
    4548
    46 register_activation_hook(BRIZY_FILE, 'brizy_install');
    47 register_deactivation_hook(BRIZY_FILE, 'brizy_clean');
     49register_activation_hook( BRIZY_FILE, 'brizy_install' );
     50register_deactivation_hook( BRIZY_FILE, 'brizy_clean' );
    4851
    49 function brizy_load()
    50 {
     52function brizy_load() {
    5153
    52     try {
    53         $instance = Brizy_Editor::get();
    54     } catch (Exception $e) {
    55         add_action('admin_notices', 'brizy_fail_notices');
     54    try {
     55        $instance = Brizy_Editor::get();
     56    } catch ( Exception $e ) {
     57        add_action( 'admin_notices', 'brizy_fail_notices' );
    5658
    57         return;
    58     }
     59        return;
     60    }
    5961
    60     if (apply_filters('brizy_allow_plugin_included', true)) {
    61         do_action('brizy_plugin_included');
    62     }
     62    if ( apply_filters( 'brizy_allow_plugin_included', true ) ) {
     63        do_action( 'brizy_plugin_included' );
     64    }
    6365}
    6466
    65 function brizy_notices()
    66 {
    67     ?>
     67function brizy_notices() {
     68    ?>
    6869    <div class="notice notice-error is-dismissible">
    6970        <p>
    70             <?php
    71             printf(
    72                 __(
    73                     '%1$s requires PHP version 5.6+, your currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>',
    74                     'brizy'
    75                 ),
    76                 __bt('brizy', 'Brizy'),
    77                 PHP_VERSION,
    78                 strtoupper(__bt('brizy', 'Brizy'))
    79             );
    80             ?>
     71            <?php
     72            printf(
     73                __(
     74                    '%1$s requires PHP version 5.6+, your currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>',
     75                    'brizy'
     76                ),
     77                __bt( 'brizy', 'Brizy' ),
     78                PHP_VERSION,
     79                strtoupper( __bt( 'brizy', 'Brizy' ) )
     80            );
     81            ?>
    8182        </p>
    8283    </div>
    83     <?php
     84    <?php
    8485}
    8586
    86 function brizy_fail_notices()
    87 {
    88     ?>
     87function brizy_fail_notices() {
     88    ?>
    8989    <div class="notice notice-error is-dismissible">
    9090        <p>
    91             <?php
    92             printf(
    93                 __('%1$s failed to start. Please contact the support <a href="%s">here</a>.', 'brizy'),
    94                 __bt('brizy', 'Brizy'),
    95                 apply_filters('brizy_support_url', Brizy_Config::getSupportUrl()),
    96                 strtoupper(__bt('brizy', 'Brizy'))
    97             );
    98             ?>
     91            <?php
     92            printf(
     93                __( '%1$s failed to start. Please contact the support <a href="%s">here</a>.', 'brizy' ),
     94                __bt( 'brizy', 'Brizy' ),
     95                apply_filters( 'brizy_support_url', Brizy_Config::getSupportUrl() ),
     96                strtoupper( __bt( 'brizy', 'Brizy' ) )
     97            );
     98            ?>
    9999        </p>
    100100    </div>
    101     <?php
     101    <?php
    102102}
    103103
    104104
    105 function brizy_upgrade_completed($upgrader_object, $options)
    106 {
    107     if ($options['action'] == 'update' && $options['type'] == 'plugin' && isset($options['plugins'])) {
    108         foreach ($options['plugins'] as $plugin) {
    109             if ($plugin == BRIZY_PLUGIN_BASE) {
    110                 add_option('brizy-regenerate-permalinks', 1);
    111                 do_action('brizy-updated');
    112             }
    113         }
    114     }
     105function brizy_upgrade_completed( $upgrader_object, $options ) {
     106    if ( $options['action'] == 'update' && $options['type'] == 'plugin' && isset( $options['plugins'] ) ) {
     107        foreach ( $options['plugins'] as $plugin ) {
     108            if ( $plugin == BRIZY_PLUGIN_BASE ) {
     109                add_option( 'brizy-regenerate-permalinks', 1 );
     110                do_action( 'brizy-updated' );
     111            }
     112        }
     113    }
    115114}
    116115
    117 function brizy_install()
    118 {
    119     Brizy_Logger::install();
    120     add_option('brizy-regenerate-permalinks', 1);
    121     do_action('brizy-activated');
    122     set_transient('brizy_admin_notice', true, 7200);
     116function brizy_install() {
     117    Brizy_Logger::install();
     118    add_option( 'brizy-regenerate-permalinks', 1 );
     119    do_action( 'brizy-activated' );
     120    set_transient( 'brizy_admin_notice', true, 7200 );
    123121}
    124122
    125 function brizy_clean()
    126 {
    127     Brizy_Logger::clean();
    128     add_option('brizy-regenerate-permalinks', 1);
    129     do_action('brizy-deactivated');
     123function brizy_clean() {
     124    Brizy_Logger::clean();
     125    add_option( 'brizy-regenerate-permalinks', 1 );
     126    do_action( 'brizy-deactivated' );
    130127}
    131128
    132 function brizy_load_text_domain()
    133 {
    134     load_plugin_textdomain('brizy', false, dirname(plugin_basename(__FILE__)).'/languages');
     129function brizy_load_text_domain() {
     130    load_plugin_textdomain( 'brizy', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
    135131}
    136132
  • brizy/trunk/languages/brizy.pot

    r3222672 r3222687  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Brizy 2.6.5\n"
     5"Project-Id-Version: Brizy 2.6.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/workspace\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-01-15T08:12:15+00:00\n"
     12"POT-Creation-Date: 2025-01-15T08:43:49+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
     
    798798msgstr ""
    799799
    800 #: brizy.php:72
     800#: brizy.php:73
    801801msgid "%1$s requires PHP version 5.6+, your currently running PHP %2$s. <b>%3$s IS NOT RUNNING.</b>"
    802802msgstr ""
  • brizy/trunk/readme.txt

    r3222672 r3222687  
    55Tested up to: 6.7.1
    66Requires PHP: 7.2.24
    7 Stable tag: 2.6.5
     7Stable tag: 2.6.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    134134== Changelog ==
    135135
    136 = 2.6.5 - 2025-01-15 =
    137 * New: Collapsible tabs in add elements in left sidebar
    138 * New: Possibility to register custom tabs in left sidebar for third party
    139 * Improved: CSS generator returns less CSS
    140 * Improved: CSS generator generates less dynamic classNames
    141 * Improved: Editor codebase
    142 * Fixed: Effects stops when toolbar open on section
    143 * Fixed: Conflicting styles with Astra theme
    144 * Fixed: Alignment of icon in IconBox element
    145 * Fixed: Images does not load in preview
    146 * Fixed: Translation for slideshow positions
    147 * Fixed: Image size in lightbox
    148 * Fixed: Update button status when a global popup is added
    149 * Fixed: Section overlay color with slideshow option
    150 * Fixed: Motion option default value for third party
    151 * Fixed: Input sanitization
    152 * Fixed: Unable to add image to Brizy pages on GoDaddy
     136= 2.6.6 - 2025-01-15 =
     137* Fixed: Image side load
    153138
    154139= 2.6.4 - 2024-12-17 =
  • brizy/trunk/vendor/composer/installed.php

    r3222672 r3222687  
    44        'pretty_version' => 'dev-develop',
    55        'version' => 'dev-develop',
    6         'reference' => 'c3b7e49a093ef159f8235e95c32b81e0ece8cf10',
     6        'reference' => '1460cf5adc7bf72fd17083c8aff2107921e324fd',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    4343            'pretty_version' => 'dev-develop',
    4444            'version' => 'dev-develop',
    45             'reference' => 'c3b7e49a093ef159f8235e95c32b81e0ece8cf10',
     45            'reference' => '1460cf5adc7bf72fd17083c8aff2107921e324fd',
    4646            'type' => 'library',
    4747            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.