Plugin Directory

Changeset 3471463


Ignore:
Timestamp:
02/28/2026 04:34:55 AM (9 days ago)
Author:
Webilia
Message:

Release Vertex 1.6.4

Location:
addons-for-elementor-builder
Files:
654 added
5 edited

Legend:

Unmodified
Added
Removed
  • addons-for-elementor-builder/trunk/addons-for-elementor-builder.php

    r3430773 r3471463  
    44 * Plugin URI: https://vertexaddons.com/
    55 * Description: Just one plugin instead of a lot!
    6  * Version: 1.6.3
     6 * Version: 1.6.4
    77 * Author: Webilia
    88 * Author URI: https://webilia.com/
  • addons-for-elementor-builder/trunk/afeb.php

    r3430773 r3471463  
    2323     * @var string
    2424     */
    25     public $version = '1.6.3';
     25    public $version = '1.6.4';
    2626
    2727    /**
  • addons-for-elementor-builder/trunk/app/Extensions/CustomCssjs.php

    r3346060 r3471463  
    99use Elementor\Plugin;
    1010
    11 if (!defined('ABSPATH')) {
     11if (!defined('ABSPATH'))
     12{
    1213    exit;
    1314}
     
    7576    }
    7677
    77     /**
    78      * Register CustomCssjs extension controls
    79      *
    80      * @param object $widget
    81      * @param string $section_id
    82      * @since 1.0.3
    83      */
    8478    public function register_controls($widget, $section_id)
    8579    {
    8680        // Remove Custom CSS Banner (From elementor free version)
    87         if ('section_custom_css_pro' !== $section_id) {
     81        if ('section_custom_css_pro' !== $section_id)
     82        {
    8883            return;
    8984        }
    9085
    9186        $this->controls = new CHelper($widget);
    92         if ($widget->get_type() == 'wp-page') {
     87        if ($widget->get_type() == 'wp-page')
     88        {
    9389            $this->controls->tab_advanced_section(
    9490                'afeb-ext-custom-css-js',
    9591                ['label' => esc_html__('Custom CSS/JS', 'addons-for-elementor-builder'),],
    96                 function () {
     92                function ()
     93                {
    9794                    $this->controls->tabs('afeb_icn_tb_cntrl', [
    9895                        'cstm_cssjs_css_tab' => [
    9996                            'label' => esc_html__('CSS', 'addons-for-elementor-builder'),
    100                             'callback' => function () {
     97                            'callback' => function ()
     98                            {
    10199                                $this->controls->code('afeb_cstm_hdr_css', [
    102100                                    'label' => esc_html__('CSS', 'addons-for-elementor-builder'),
     
    106104                        'cstm_cssjs_js_tab' => [
    107105                            'label' => esc_html__('JS', 'addons-for-elementor-builder'),
    108                             'callback' => function () {
     106                            'callback' => function ()
     107                            {
    109108                                $this->controls->code('afeb_cstm_hdr_js', [
    110109                                    'label' => esc_html__('Header JS', 'addons-for-elementor-builder'),
     
    123122                }
    124123            );
    125         } else {
     124        }
     125        else
     126        {
    126127            $this->controls->tab_advanced_section(
    127128                'afeb-ext-custom-css',
    128129                ['label' => esc_html__('Custom CSS', 'addons-for-elementor-builder'),],
    129                 function () {
     130                function ()
     131                {
    130132                    $this->controls->code('afeb_cstm_hdr_css', [
    131133                        'label' => esc_html__('CSS', 'addons-for-elementor-builder'),
     
    145147    public function add_post_css($post_css, $element)
    146148    {
    147         if ($post_css instanceof Dynamic_CSS) {
     149        if ($post_css instanceof Dynamic_CSS)
     150        {
    148151            return;
    149152        }
     
    151154        $element_settings = $element->get_settings();
    152155
    153         if (empty($element_settings['afeb_cstm_hdr_css'])) {
     156        if (empty($element_settings['afeb_cstm_hdr_css']))
     157        {
    154158            return;
    155159        }
     
    157161        $css = trim($element_settings['afeb_cstm_hdr_css']);
    158162
    159         if (empty($css)) {
     163        if (empty($css))
     164        {
    160165            return;
    161166        }
     
    172177        $custom_css = trim($custom_css);
    173178
    174         if (empty($custom_css)) {
     179        if (empty($custom_css))
     180        {
    175181            return;
    176182        }
     
    195201        $document = Plugin::instance()->documents->get(get_the_ID());
    196202        if (!$document) return;
     203
    197204        $custom_js = $document->get_settings('afeb_cstm_hdr_js');
    198         if (empty($custom_js)) return;
     205        if (!is_string($custom_js)) return;
     206
     207        $custom_js = trim($custom_js);
     208        if ($custom_js === '') return;
    199209
    200210        $this->assets->custom_header_script();
     
    216226        $document = Plugin::instance()->documents->get(get_the_ID());
    217227        if (!$document) return;
     228
    218229        $custom_js = $document->get_settings('afeb_cstm_ftr_js');
    219         if (empty($custom_js)) return;
     230        if (!is_string($custom_js)) return;
     231
     232        $custom_js = trim($custom_js);
     233        if ($custom_js === '') return;
    220234
    221235        $this->assets->custom_footer_script();
  • addons-for-elementor-builder/trunk/html/admin/menus/dashboard/fragments/content/dashboard/tpl.php

    r3430773 r3471463  
    5555
    5656                <div class="afeb-changelog-list-box">
     57                    <div class="afeb-changelog-date">
     58                        <?php esc_html_e('February 27, 2026', 'addons-for-elementor-builder'); ?>
     59                        <span class="afeb-changelog-version"><?php esc_html_e('Version 1.6.4', 'addons-for-elementor-builder'); ?></span>
     60                    </div>
     61                    <ul class="afeb-changelog-list">
     62                        <li><?php esc_html_e('Fixed : Inline script type handling in the Custom CSS/JS Extension.', 'addons-for-elementor-builder'); ?></li>
     63                        <li><?php esc_html_e('Fixed : Guarded Pro widgets usage in the dashboard.', 'addons-for-elementor-builder'); ?></li>
     64                    </ul>
    5765                    <div class="afeb-changelog-date">
    5866                        <?php esc_html_e('January 1, 2026', 'addons-for-elementor-builder'); ?>
  • addons-for-elementor-builder/trunk/readme.txt

    r3430773 r3471463  
    66Requires PHP: 7.4
    77Tested up to: 6.9
    8 Stable tag: 1.6.3
     8Stable tag: 1.6.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    186186== Changelog ==
    187187
     188= 1.6.4 =
     189* Fixed : Inline script type handling in the Custom CSS/JS Extension.
     190* Fixed : Guarded Pro widgets usage in the dashboard.
     191
    188192= 1.6.3 =
    189193* Fixed : Authentication Error Display Issue.
Note: See TracChangeset for help on using the changeset viewer.