Changeset 2681439
- Timestamp:
- 02/18/2022 03:15:35 PM (4 years ago)
- Location:
- unyson
- Files:
-
- 18 edited
- 1 copied
-
tags/2.7.25 (copied) (copied from unyson/trunk)
-
tags/2.7.25/framework/core/extends/class-fw-extension.php (modified) (3 diffs)
-
tags/2.7.25/framework/helpers/class-fw-db-options-model.php (modified) (1 diff)
-
tags/2.7.25/framework/helpers/class-fw-request.php (modified) (1 diff)
-
tags/2.7.25/framework/helpers/class-fw-wp-option.php (modified) (2 diffs)
-
tags/2.7.25/framework/helpers/database.php (modified) (6 diffs)
-
tags/2.7.25/framework/helpers/general.php (modified) (1 diff)
-
tags/2.7.25/framework/manifest.php (modified) (1 diff)
-
tags/2.7.25/readme.txt (modified) (2 diffs)
-
tags/2.7.25/unyson.php (modified) (1 diff)
-
trunk/framework/core/extends/class-fw-extension.php (modified) (3 diffs)
-
trunk/framework/helpers/class-fw-db-options-model.php (modified) (1 diff)
-
trunk/framework/helpers/class-fw-request.php (modified) (1 diff)
-
trunk/framework/helpers/class-fw-wp-option.php (modified) (2 diffs)
-
trunk/framework/helpers/database.php (modified) (6 diffs)
-
trunk/framework/helpers/general.php (modified) (1 diff)
-
trunk/framework/manifest.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/unyson.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
unyson/tags/2.7.25/framework/core/extends/class-fw-extension.php
r1891028 r2681439 107 107 if (!$full_path) { 108 108 trigger_error('Extension view not found: '. $name, E_USER_WARNING); 109 return ;109 return ''; 110 110 } 111 111 … … 385 385 * @param mixed $value 386 386 */ 387 final public function set_db_settings_option( $option_id = null, $value ) {387 final public function set_db_settings_option( $option_id = null, $value = '' ) { 388 388 fw_set_db_ext_settings_option( $this->get_name(), $option_id, $value ); 389 389 } … … 408 408 * @param mixed $value 409 409 */ 410 final public function set_db_data( $multi_key = null, $value ) {410 final public function set_db_data( $multi_key = null, $value = '' ) { 411 411 fw_set_db_extension_data( $this->get_name(), $multi_key, $value ); 412 412 } -
unyson/tags/2.7.25/framework/helpers/class-fw-db-options-model.php
r1891028 r2681439 243 243 } 244 244 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() ) { 246 246 FW_Cache::del($cache_key_values = $this->get_cache_key('values', $item_id, $extra_data)); 247 247 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 30 30 protected static function prepare_key($key) 31 31 { 32 return (get_magic_quotes_gpc() && is_string($key) ? addslashes($key) : $key);32 return $key; 33 33 } 34 34 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 = '') 36 36 { 37 37 $multikey = self::prepare_key($multikey); -
unyson/tags/2.7.25/framework/helpers/class-fw-wp-option.php
r1891028 r2681439 22 22 } 23 23 24 $value = get_option($option_name , null);24 $value = get_option($option_name = '', null); 25 25 26 26 if (empty($specific_multi_key) && $specific_multi_key !== '0') { … … 37 37 * @param array|string|int|bool $set_value 38 38 */ 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 = '') 40 40 { 41 41 if ($specific_multi_key === null) { // Replace entire option -
unyson/tags/2.7.25/framework/helpers/database.php
r1891028 r2681439 72 72 * @param mixed $value 73 73 */ 74 function fw_set_db_settings_option( $option_id = null, $value ) {74 function fw_set_db_settings_option( $option_id = null, $value = '' ) { 75 75 FW_Db_Options_Model_Settings::_get_instance('settings')->set(null, $option_id, $value); 76 76 } … … 236 236 * @param $value 237 237 */ 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 = '' ) { 239 239 FW_Db_Options_Model::_get_instance('post')->set(intval($post_id), $option_id, $value); 240 240 } … … 431 431 * @return null 432 432 */ 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 = '' ) { 434 434 if ( ! taxonomy_exists( $taxonomy ) ) { 435 435 return null; … … 498 498 * @param mixed $value 499 499 */ 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 = '' ) { 501 501 if ( ! fw_ext( $extension_name ) ) { 502 502 trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING ); … … 586 586 * @param mixed $value 587 587 */ 588 function fw_set_db_customizer_option( $option_id = null, $value ) {588 function fw_set_db_customizer_option( $option_id = null, $value = '' ) { 589 589 FW_Db_Options_Model::_get_instance('customizer')->set(null, $option_id, $value); 590 590 } … … 696 696 * @param mixed $value 697 697 */ 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 = '' ) { 699 699 if ( ! fw()->extensions->get( $extension_name ) ) { 700 700 trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING ); -
unyson/tags/2.7.25/framework/helpers/general.php
r2267137 r2681439 517 517 static $magic_quotes = null; 518 518 if ( $magic_quotes === null ) { 519 $magic_quotes = get_magic_quotes_gpc();519 $magic_quotes = false; 520 520 } 521 521 -
unyson/tags/2.7.25/framework/manifest.php
r2368756 r2681439 5 5 $manifest['name'] = __('Unyson', 'fw'); 6 6 7 $manifest['version'] = '2.7.2 4';7 $manifest['version'] = '2.7.25'; -
unyson/tags/2.7.25/readme.txt
r2368756 r2681439 3 3 Tags: page builder, editor, drag-and-drop, landing-page, widgets, sidebar, backup, shortcodes, backup, seo, breadcrumbs, portfolio, framework 4 4 Requires at least: 4.4 5 Tested up to: 5. 56 Stable tag: 2.7.2 45 Tested up to: 5.9 6 Stable tag: 2.7.25 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 90 90 == Changelog == 91 91 92 = 2.7.25 = 93 * Fixed [#4209](https://github.com/ThemeFuse/Unyson/issues/4209) 94 92 95 = 2.7.24 = 93 96 * Fixed [#3915](https://github.com/ThemeFuse/Unyson/issues/4029) -
unyson/tags/2.7.25/unyson.php
r2368756 r2681439 4 4 * Plugin URI: http://unyson.io/ 5 5 * 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.2 46 * Version: 2.7.25 7 7 * Author: ThemeFuse 8 8 * Author URI: http://themefuse.com -
unyson/trunk/framework/core/extends/class-fw-extension.php
r1891028 r2681439 107 107 if (!$full_path) { 108 108 trigger_error('Extension view not found: '. $name, E_USER_WARNING); 109 return ;109 return ''; 110 110 } 111 111 … … 385 385 * @param mixed $value 386 386 */ 387 final public function set_db_settings_option( $option_id = null, $value ) {387 final public function set_db_settings_option( $option_id = null, $value = '' ) { 388 388 fw_set_db_ext_settings_option( $this->get_name(), $option_id, $value ); 389 389 } … … 408 408 * @param mixed $value 409 409 */ 410 final public function set_db_data( $multi_key = null, $value ) {410 final public function set_db_data( $multi_key = null, $value = '' ) { 411 411 fw_set_db_extension_data( $this->get_name(), $multi_key, $value ); 412 412 } -
unyson/trunk/framework/helpers/class-fw-db-options-model.php
r1891028 r2681439 243 243 } 244 244 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() ) { 246 246 FW_Cache::del($cache_key_values = $this->get_cache_key('values', $item_id, $extra_data)); 247 247 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 30 30 protected static function prepare_key($key) 31 31 { 32 return (get_magic_quotes_gpc() && is_string($key) ? addslashes($key) : $key);32 return $key; 33 33 } 34 34 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 = '') 36 36 { 37 37 $multikey = self::prepare_key($multikey); -
unyson/trunk/framework/helpers/class-fw-wp-option.php
r1891028 r2681439 22 22 } 23 23 24 $value = get_option($option_name , null);24 $value = get_option($option_name = '', null); 25 25 26 26 if (empty($specific_multi_key) && $specific_multi_key !== '0') { … … 37 37 * @param array|string|int|bool $set_value 38 38 */ 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 = '') 40 40 { 41 41 if ($specific_multi_key === null) { // Replace entire option -
unyson/trunk/framework/helpers/database.php
r1891028 r2681439 72 72 * @param mixed $value 73 73 */ 74 function fw_set_db_settings_option( $option_id = null, $value ) {74 function fw_set_db_settings_option( $option_id = null, $value = '' ) { 75 75 FW_Db_Options_Model_Settings::_get_instance('settings')->set(null, $option_id, $value); 76 76 } … … 236 236 * @param $value 237 237 */ 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 = '' ) { 239 239 FW_Db_Options_Model::_get_instance('post')->set(intval($post_id), $option_id, $value); 240 240 } … … 431 431 * @return null 432 432 */ 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 = '' ) { 434 434 if ( ! taxonomy_exists( $taxonomy ) ) { 435 435 return null; … … 498 498 * @param mixed $value 499 499 */ 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 = '' ) { 501 501 if ( ! fw_ext( $extension_name ) ) { 502 502 trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING ); … … 586 586 * @param mixed $value 587 587 */ 588 function fw_set_db_customizer_option( $option_id = null, $value ) {588 function fw_set_db_customizer_option( $option_id = null, $value = '' ) { 589 589 FW_Db_Options_Model::_get_instance('customizer')->set(null, $option_id, $value); 590 590 } … … 696 696 * @param mixed $value 697 697 */ 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 = '' ) { 699 699 if ( ! fw()->extensions->get( $extension_name ) ) { 700 700 trigger_error( 'Invalid extension: ' . $extension_name, E_USER_WARNING ); -
unyson/trunk/framework/helpers/general.php
r2267137 r2681439 517 517 static $magic_quotes = null; 518 518 if ( $magic_quotes === null ) { 519 $magic_quotes = get_magic_quotes_gpc();519 $magic_quotes = false; 520 520 } 521 521 -
unyson/trunk/framework/manifest.php
r2368756 r2681439 5 5 $manifest['name'] = __('Unyson', 'fw'); 6 6 7 $manifest['version'] = '2.7.2 4';7 $manifest['version'] = '2.7.25'; -
unyson/trunk/readme.txt
r2368756 r2681439 3 3 Tags: page builder, editor, drag-and-drop, landing-page, widgets, sidebar, backup, shortcodes, backup, seo, breadcrumbs, portfolio, framework 4 4 Requires at least: 4.4 5 Tested up to: 5. 56 Stable tag: 2.7.2 45 Tested up to: 5.9 6 Stable tag: 2.7.25 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 90 90 == Changelog == 91 91 92 = 2.7.25 = 93 * Fixed [#4209](https://github.com/ThemeFuse/Unyson/issues/4209) 94 92 95 = 2.7.24 = 93 96 * Fixed [#3915](https://github.com/ThemeFuse/Unyson/issues/4029) -
unyson/trunk/unyson.php
r2368756 r2681439 4 4 * Plugin URI: http://unyson.io/ 5 5 * 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.2 46 * Version: 2.7.25 7 7 * Author: ThemeFuse 8 8 * Author URI: http://themefuse.com
Note: See TracChangeset
for help on using the changeset viewer.