Changeset 2576478
- Timestamp:
- 08/02/2021 01:08:02 PM (4 years ago)
- Location:
- ele-custom-skin/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ele-custom-skin/trunk/ele-custom-skin.php
r2549594 r2576478 2 2 /* 3 3 * Plugin Name: Ele Custom Skin 4 * Version: 3.1. 14 * Version: 3.1.2 5 5 * Description: Elementor Custom Skin for Posts and Archive Posts. You can create a skin as you want. 6 6 * Plugin URI: https://dudaster.com … … 11 11 * License: GPLv3 12 12 * License URI: http://www.gnu.org/licenses/gpl-3.0 13 * Elementor tested up to: 3. 3.014 * Elementor Pro tested up to: 3. 3.013 * Elementor tested up to: 3.4.0 14 * Elementor Pro tested up to: 3.4.0 15 15 */ 16 16 … … 21 21 define( 'ELECS_NAME', plugin_basename( __FILE__ )); 22 22 define( 'ELECS_URL', plugin_dir_url( __FILE__ )); 23 define ('ELECS_VER','3.1. 1');23 define ('ELECS_VER','3.1.2'); 24 24 25 25 include_once ELECS_DIR.'includes/ecs-notices.php'; -
ele-custom-skin/trunk/includes/dynamic-style.php
r2316646 r2576478 1 1 <?php 2 2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 3 4 5 function ECS_find_url_type($values){ 6 $interest=["url"]; 7 $keys=[]; 8 if(is_array($values)){ 9 foreach ($values as $key => $value){ 10 if (isset($value["type"]) && $value["type"] == "url") $keys[]= $key; 11 } 12 } 13 return $keys; 14 } 15 /* peopele keep getting errors from url types */ 16 function ECS_remove_url_type(&$array){ 17 $keys=ECS_find_url_type($array); 18 foreach($keys as $key){ 19 ECS_recursive_unset($array, $key); 20 } 21 } 3 22 4 23 function ECS_clean_selector_value($values){ … … 21 40 foreach ($array as &$value) { 22 41 if (is_array($value)) { 23 recursive_unset($value, $unwanted_key);42 ECS_recursive_unset($value, $unwanted_key); 24 43 } 25 44 } … … 37 56 $all_controls = isset($all_controls) ? $all_controls : []; $dynamic_settings = isset($dynamic_settings) ? $dynamic_settings : []; 38 57 $controls = array_intersect_key( $all_controls, $dynamic_settings ); 39 ECS_re cursive_unset($dynamic_settings, 'link');//we don't need the link options58 ECS_remove_url_type($controls);//we don't need the link options 40 59 $settings = $element->parse_dynamic_settings( $dynamic_settings, $controls); // @ <- dirty fix for that fugly controls-stack.php Illegal string offset 'url' error 41 60 -
ele-custom-skin/trunk/readme.txt
r2549594 r2576478 5 5 Requires at least: 5.0 6 6 Tested up to: 5.7.2 7 Stable tag: 3.1. 17 Stable tag: 3.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 65 65 == Changelog == 66 67 = 3.1.2 = 68 * Fixed the url error message issues. 66 69 67 70 = 3.1.1 =
Note: See TracChangeset
for help on using the changeset viewer.