Plugin Directory

Changeset 3028704


Ignore:
Timestamp:
01/30/2024 11:01:12 AM (2 years ago)
Author:
flickdevs
Message:

Compatibility with latest WordPress and removed deprecated elementor code

Location:
fd-elementor-button-plus/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fd-elementor-button-plus/trunk/elements/fd-elementor-button-plus.php

    r2767236 r3028704  
    901901                'label' => __('Typography', FD_EBP),
    902902                //'scheme' => Scheme_Typography::TYPOGRAPHY_4,
    903                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     903                // 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     904                'global' => [
     905                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     906                ],
    904907                'selector' => '{{WRAPPER}} .elementor-button',
    905908                'condition' => [
     
    915918                'label' => __('Typography', FD_EBP),
    916919                //'scheme' => Scheme_Typography::TYPOGRAPHY_4,
    917                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     920                // 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     921                'global' => [
     922                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     923                ],
    918924                'selector' => '{{WRAPPER}} .dual-button-left',
    919925                'condition' => [
     
    928934                'label' => __('Typography', FD_EBP),
    929935                //'scheme' => Scheme_Typography::TYPOGRAPHY_4,
    930                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     936                // 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     937                'global' => [
     938                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     939                ],
    931940                'selector' => '{{WRAPPER}} .dbwt-button-left',
    932941                'condition' => [
     
    941950                'label' => __('Background Color', FD_EBP),
    942951                'type' => Controls_Manager::COLOR,
    943                 'scheme' => [
    944                 //  'type' => Scheme_Color::get_type(),
    945                     //'value' => Scheme_Color::COLOR_4,
    946                      'type' => \Elementor\Core\Schemes\Color::get_type(),
    947                     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     952                // 'scheme' => [
     953                // //   'type' => Scheme_Color::get_type(),
     954                //  //'value' => Scheme_Color::COLOR_4,
     955                //   'type' => \Elementor\Core\Schemes\Color::get_type(),
     956                //     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     957                // ],
     958                'global' => [
     959                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_ACCENT,
    948960                ],
    949961                'selectors' => [
     
    960972                'label' => __('Background Color', FD_EBP),
    961973                'type' => Controls_Manager::COLOR,
    962                 'scheme' => [
    963                 //  'type' => Scheme_Color::get_type(),
    964                     //'value' => Scheme_Color::COLOR_4,
    965                      'type' => \Elementor\Core\Schemes\Color::get_type(),
    966                     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     974                // 'scheme' => [
     975                // //   'type' => Scheme_Color::get_type(),
     976                //  //'value' => Scheme_Color::COLOR_4,
     977                //   'type' => \Elementor\Core\Schemes\Color::get_type(),
     978                //     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     979                // ],
     980                'global' => [
     981                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_ACCENT,
    967982                ],
    968983                'selectors' => [
     
    11961211                'label' => __('Background Color', FD_EBP),
    11971212                'type' => Controls_Manager::COLOR,
    1198                 'scheme' => [
    1199                 //  'type' => Scheme_Color::get_type(),
    1200                     //'value' => Scheme_Color::COLOR_4,
    1201                      'type' => \Elementor\Core\Schemes\Color::get_type(),
    1202                     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     1213                // 'scheme' => [
     1214                // //   'type' => Scheme_Color::get_type(),
     1215                //  //'value' => Scheme_Color::COLOR_4,
     1216                //   'type' => \Elementor\Core\Schemes\Color::get_type(),
     1217                //     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     1218                // ],
     1219                'global' => [
     1220                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_ACCENT,
    12031221                ],
    12041222                'selectors' => [
     
    12631281                'label' => __('Icon Background Color', FD_EBP),
    12641282                'type' => Controls_Manager::COLOR,
    1265                 'scheme' => [
    1266                     //'type' => Scheme_Color::get_type(),
    1267                     //'value' => Scheme_Color::COLOR_4,
    1268                      'type' => \Elementor\Core\Schemes\Color::get_type(),
    1269                     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     1283                // 'scheme' => [
     1284                //  //'type' => Scheme_Color::get_type(),
     1285                //  //'value' => Scheme_Color::COLOR_4,
     1286                //   'type' => \Elementor\Core\Schemes\Color::get_type(),
     1287                //     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     1288                // ],
     1289                'global' => [
     1290                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_ACCENT,
    12701291                ],
    12711292                'selectors' => [
     
    14201441                'label' => __('Typography', FD_EBP),
    14211442                //'scheme' => Scheme_Typography::TYPOGRAPHY_4,
    1422                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     1443                // 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     1444                'global' => [
     1445                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     1446                ],
    14231447                'selector' => '{{WRAPPER}} .dual-button-right', '{{WRAPPER}} .dbwt-button-right',
    14241448                'condition' => [
     
    14331457                'label' => __('Typography', FD_EBP),
    14341458                //'scheme' => Scheme_Typography::TYPOGRAPHY_4,
    1435                 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     1459                // 'scheme' => \Elementor\Core\Schemes\Typography::TYPOGRAPHY_4,
     1460                'global' => [
     1461                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_ACCENT,
     1462                ],
    14361463                'selector' => '{{WRAPPER}} .dbwt-button-right',
    14371464                'condition' => [
     
    14461473                'label' => __('Background Color', FD_EBP),
    14471474                'type' => Controls_Manager::COLOR,
    1448                 'scheme' => [
    1449                     //'type' => Scheme_Color::get_type(),
    1450                     //'value' => Scheme_Color::COLOR_4,
    1451                      'type' => \Elementor\Core\Schemes\Color::get_type(),
    1452                     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     1475                // 'scheme' => [
     1476                //  //'type' => Scheme_Color::get_type(),
     1477                //  //'value' => Scheme_Color::COLOR_4,
     1478                //   'type' => \Elementor\Core\Schemes\Color::get_type(),
     1479                //     'value' => \Elementor\Core\Schemes\Color::COLOR_4,
     1480                // ],
     1481                'global' => [
     1482                    'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_ACCENT,
    14531483                ],
    14541484                'selectors' => [
     
    19331963    }
    19341964}
    1935 Plugin::instance()->widgets_manager->register_widget_type(new Widget_FD_Elementor_Button_plus());
     1965Plugin::instance()->widgets_manager->register(new Widget_FD_Elementor_Button_plus());
  • fd-elementor-button-plus/trunk/fd-elementor-button-plus.php

    r2926493 r3028704  
    55 * Plugin URI: https://flickdevs.com/elementor/elementor-button-plus/
    66 * Author: FlickDevs
    7  * Version: 1.3.1
    8  * Elementor tested up to: 3.13.4
     7 * Version: 1.3.2
     8 * Elementor tested up to: 3.19.0
    99 * Author URI: https://www.flickdevs.com/
    1010 *
  • fd-elementor-button-plus/trunk/readme.txt

    r2926493 r3028704  
    22Contributors: flickdevs, shaikhaezaz80
    33Requires at least: 5.9
    4 Tested up to: 6.2.2
     4Tested up to: 6.4.2
    55Requires PHP: 7.0
    6 Stable tag: 1.3.1
     6Stable tag: 1.3.2
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4040
    4141== Changelog ==
     42
     43= 1.3.2 =
     44Compatibility with latest WordPress
     45Removed deprecated elementor code
    4246
    4347= 1.3.1 =
Note: See TracChangeset for help on using the changeset viewer.