Plugin Directory

Changeset 2681439


Ignore:
Timestamp:
02/18/2022 03:15:35 PM (4 years ago)
Author:
Unyson
Message:

Version 2.7.25

Location:
unyson
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • unyson/tags/2.7.25/framework/core/extends/class-fw-extension.php

    r1891028 r2681439  
    107107        if (!$full_path) {
    108108            trigger_error('Extension view not found: '. $name, E_USER_WARNING);
    109             return;
     109            return '';
    110110        }
    111111
     
    385385     * @param mixed $value
    386386     */
    387     final public function set_db_settings_option( $option_id = null, $value ) {
     387    final public function set_db_settings_option( $option_id = null, $value = '' ) {
    388388        fw_set_db_ext_settings_option( $this->get_name(), $option_id, $value );
    389389    }
     
    408408     * @param mixed $value
    409409     */
    410     final public function set_db_data( $multi_key = null, $value ) {
     410    final public function set_db_data( $multi_key = null, $value = '' ) {
    411411        fw_set_db_extension_data( $this->get_name(), $multi_key, $value );
    412412    }
  • unyson/tags/2.7.25/framework/helpers/class-fw-db-options-model.php

    r1891028 r2681439  
    243243    }
    244244
    245     final public function set( $item_id = null, $option_id = null, $value, array $extra_data = array() ) {
     245    final public function set( $item_id = null, $option_id = null, $value = '', array $extra_data = array() ) {
    246246        FW_Cache::del($cache_key_values = $this->get_cache_key('values', $item_id, $extra_data));
    247247        FW_Cache::del($cache_key_values_processed = $this->get_cache_key('values:processed', $item_id, $extra_data));
  • unyson/tags/2.7.25/framework/helpers/class-fw-request.php

    r1891028 r2681439  
    3030    protected static function prepare_key($key)
    3131    {
    32         return (get_magic_quotes_gpc() && is_string($key) ? addslashes($key) : $key);
     32        return $key;
    3333    }
    3434
    35     protected static function get_set_key($multikey = null, $set_value = null, &$value)
     35    protected static function get_set_key($multikey = null, $set_value = null, &$value = '')
    3636    {
    3737        $multikey = self::prepare_key($multikey);
  • unyson/tags/2.7.25/framework/helpers/class-fw-wp-option.php

    r1891028 r2681439  
    2222        }
    2323
    24         $value = get_option($option_name, null);
     24        $value = get_option($option_name = '', null);
    2525
    2626        if (empty($specific_multi_key) && $specific_multi_key !== '0') {
     
    3737     * @param array|string|int|bool $set_value
    3838     */
    39     public static function set($option_name, $specific_multi_key = null, $set_value)
     39    public static function set($option_name = '', $specific_multi_key = null, $set_value = '')
    4040    {
    4141        if ($specific_multi_key === null) { // Replace entire option
  • unyson/tags/2.7.25/framework/helpers/database.php

    r1891028 r2681439  
    7272         * @param mixed $value
    7373         */
    74         function fw_set_db_settings_option( $option_id = null, $value ) {
     74        function fw_set_db_settings_option( $option_id = null, $value = '' ) {
    7575            FW_Db_Options_Model_Settings::_get_instance('settings')->set(null, $option_id, $value);
    7676        }
     
    236236         * @param $value
    237237         */
    238         function fw_set_db_post_option( $post_id = null, $option_id = null, $value ) {
     238        function fw_set_db_post_option( $post_id = null, $option_id = null, $value = '' ) {
    239239            FW_Db_Options_Model::_get_instance('post')->set(intval($post_id), $option_id, $value);
    240240        }
     
    431431         * @return null
    432432         */
    433         function fw_set_db_term_option( $term_id, $taxonomy, $option_id = null, $value ) {
     433        function fw_set_db_term_option( $term_id, $taxonomy, $option_id = null, $value = '' ) {
    434434            if ( ! taxonomy_exists( $taxonomy ) ) {
    435435                return null;
     
    498498         * @param mixed $value
    499499         */
    500         function fw_set_db_ext_settings_option( $extension_name, $option_id = null, $value ) {
     500        function fw_set_db_ext_settings_option( $extension_name, $option_id = null, $value = '' ) {
    501501            if ( ! fw_ext( $extension_name ) ) {
    502502                trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING );
     
    586586         * @param mixed $value
    587587         */
    588         function fw_set_db_customizer_option( $option_id = null, $value ) {
     588        function fw_set_db_customizer_option( $option_id = null, $value = '' ) {
    589589            FW_Db_Options_Model::_get_instance('customizer')->set(null, $option_id, $value);
    590590        }
     
    696696     * @param mixed $value
    697697     */
    698     function fw_set_db_extension_data( $extension_name, $multi_key = null, $value ) {
     698    function fw_set_db_extension_data( $extension_name, $multi_key = null, $value = '' ) {
    699699        if ( ! fw()->extensions->get( $extension_name ) ) {
    700700            trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING );
  • unyson/tags/2.7.25/framework/helpers/general.php

    r2267137 r2681439  
    517517    static $magic_quotes = null;
    518518    if ( $magic_quotes === null ) {
    519         $magic_quotes = get_magic_quotes_gpc();
     519        $magic_quotes = false;
    520520    }
    521521
  • unyson/tags/2.7.25/framework/manifest.php

    r2368756 r2681439  
    55$manifest['name'] = __('Unyson', 'fw');
    66
    7 $manifest['version'] = '2.7.24';
     7$manifest['version'] = '2.7.25';
  • unyson/tags/2.7.25/readme.txt

    r2368756 r2681439  
    33Tags: page builder, editor, drag-and-drop, landing-page, widgets, sidebar, backup, shortcodes, backup, seo, breadcrumbs, portfolio, framework
    44Requires at least: 4.4
    5 Tested up to: 5.5
    6 Stable tag: 2.7.24
     5Tested up to: 5.9
     6Stable tag: 2.7.25
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090== Changelog ==
    9191
     92= 2.7.25 =
     93* Fixed [#4209](https://github.com/ThemeFuse/Unyson/issues/4209)
     94
    9295= 2.7.24 =
    9396* Fixed [#3915](https://github.com/ThemeFuse/Unyson/issues/4029)
  • unyson/tags/2.7.25/unyson.php

    r2368756 r2681439  
    44 * Plugin URI: http://unyson.io/
    55 * Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
    6  * Version: 2.7.24
     6 * Version: 2.7.25
    77 * Author: ThemeFuse
    88 * Author URI: http://themefuse.com
  • unyson/trunk/framework/core/extends/class-fw-extension.php

    r1891028 r2681439  
    107107        if (!$full_path) {
    108108            trigger_error('Extension view not found: '. $name, E_USER_WARNING);
    109             return;
     109            return '';
    110110        }
    111111
     
    385385     * @param mixed $value
    386386     */
    387     final public function set_db_settings_option( $option_id = null, $value ) {
     387    final public function set_db_settings_option( $option_id = null, $value = '' ) {
    388388        fw_set_db_ext_settings_option( $this->get_name(), $option_id, $value );
    389389    }
     
    408408     * @param mixed $value
    409409     */
    410     final public function set_db_data( $multi_key = null, $value ) {
     410    final public function set_db_data( $multi_key = null, $value = '' ) {
    411411        fw_set_db_extension_data( $this->get_name(), $multi_key, $value );
    412412    }
  • unyson/trunk/framework/helpers/class-fw-db-options-model.php

    r1891028 r2681439  
    243243    }
    244244
    245     final public function set( $item_id = null, $option_id = null, $value, array $extra_data = array() ) {
     245    final public function set( $item_id = null, $option_id = null, $value = '', array $extra_data = array() ) {
    246246        FW_Cache::del($cache_key_values = $this->get_cache_key('values', $item_id, $extra_data));
    247247        FW_Cache::del($cache_key_values_processed = $this->get_cache_key('values:processed', $item_id, $extra_data));
  • unyson/trunk/framework/helpers/class-fw-request.php

    r1891028 r2681439  
    3030    protected static function prepare_key($key)
    3131    {
    32         return (get_magic_quotes_gpc() && is_string($key) ? addslashes($key) : $key);
     32        return $key;
    3333    }
    3434
    35     protected static function get_set_key($multikey = null, $set_value = null, &$value)
     35    protected static function get_set_key($multikey = null, $set_value = null, &$value = '')
    3636    {
    3737        $multikey = self::prepare_key($multikey);
  • unyson/trunk/framework/helpers/class-fw-wp-option.php

    r1891028 r2681439  
    2222        }
    2323
    24         $value = get_option($option_name, null);
     24        $value = get_option($option_name = '', null);
    2525
    2626        if (empty($specific_multi_key) && $specific_multi_key !== '0') {
     
    3737     * @param array|string|int|bool $set_value
    3838     */
    39     public static function set($option_name, $specific_multi_key = null, $set_value)
     39    public static function set($option_name = '', $specific_multi_key = null, $set_value = '')
    4040    {
    4141        if ($specific_multi_key === null) { // Replace entire option
  • unyson/trunk/framework/helpers/database.php

    r1891028 r2681439  
    7272         * @param mixed $value
    7373         */
    74         function fw_set_db_settings_option( $option_id = null, $value ) {
     74        function fw_set_db_settings_option( $option_id = null, $value = '' ) {
    7575            FW_Db_Options_Model_Settings::_get_instance('settings')->set(null, $option_id, $value);
    7676        }
     
    236236         * @param $value
    237237         */
    238         function fw_set_db_post_option( $post_id = null, $option_id = null, $value ) {
     238        function fw_set_db_post_option( $post_id = null, $option_id = null, $value = '' ) {
    239239            FW_Db_Options_Model::_get_instance('post')->set(intval($post_id), $option_id, $value);
    240240        }
     
    431431         * @return null
    432432         */
    433         function fw_set_db_term_option( $term_id, $taxonomy, $option_id = null, $value ) {
     433        function fw_set_db_term_option( $term_id, $taxonomy, $option_id = null, $value = '' ) {
    434434            if ( ! taxonomy_exists( $taxonomy ) ) {
    435435                return null;
     
    498498         * @param mixed $value
    499499         */
    500         function fw_set_db_ext_settings_option( $extension_name, $option_id = null, $value ) {
     500        function fw_set_db_ext_settings_option( $extension_name, $option_id = null, $value = '' ) {
    501501            if ( ! fw_ext( $extension_name ) ) {
    502502                trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING );
     
    586586         * @param mixed $value
    587587         */
    588         function fw_set_db_customizer_option( $option_id = null, $value ) {
     588        function fw_set_db_customizer_option( $option_id = null, $value = '' ) {
    589589            FW_Db_Options_Model::_get_instance('customizer')->set(null, $option_id, $value);
    590590        }
     
    696696     * @param mixed $value
    697697     */
    698     function fw_set_db_extension_data( $extension_name, $multi_key = null, $value ) {
     698    function fw_set_db_extension_data( $extension_name, $multi_key = null, $value = '' ) {
    699699        if ( ! fw()->extensions->get( $extension_name ) ) {
    700700            trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING );
  • unyson/trunk/framework/helpers/general.php

    r2267137 r2681439  
    517517    static $magic_quotes = null;
    518518    if ( $magic_quotes === null ) {
    519         $magic_quotes = get_magic_quotes_gpc();
     519        $magic_quotes = false;
    520520    }
    521521
  • unyson/trunk/framework/manifest.php

    r2368756 r2681439  
    55$manifest['name'] = __('Unyson', 'fw');
    66
    7 $manifest['version'] = '2.7.24';
     7$manifest['version'] = '2.7.25';
  • unyson/trunk/readme.txt

    r2368756 r2681439  
    33Tags: page builder, editor, drag-and-drop, landing-page, widgets, sidebar, backup, shortcodes, backup, seo, breadcrumbs, portfolio, framework
    44Requires at least: 4.4
    5 Tested up to: 5.5
    6 Stable tag: 2.7.24
     5Tested up to: 5.9
     6Stable tag: 2.7.25
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090== Changelog ==
    9191
     92= 2.7.25 =
     93* Fixed [#4209](https://github.com/ThemeFuse/Unyson/issues/4209)
     94
    9295= 2.7.24 =
    9396* Fixed [#3915](https://github.com/ThemeFuse/Unyson/issues/4029)
  • unyson/trunk/unyson.php

    r2368756 r2681439  
    44 * Plugin URI: http://unyson.io/
    55 * Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
    6  * Version: 2.7.24
     6 * Version: 2.7.25
    77 * Author: ThemeFuse
    88 * Author URI: http://themefuse.com
Note: See TracChangeset for help on using the changeset viewer.