Plugin Directory

Changeset 3170292


Ignore:
Timestamp:
10/16/2024 06:46:51 PM (14 months ago)
Author:
cubewp1211
Message:

New tag update 1.1.21

Location:
cubewp-framework/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cubewp-framework/trunk/cube.php

    r3167922 r3170292  
    44* Plugin URI: https://cubewp.com/
    55* Description: CubeWP is an end-to-end dynamic content framework for WordPress to help you save up to 90% of your coding time.
    6 * Version: 1.1.20
     6* Version: 1.1.21
    77* Author: CubeWP
    88* Author URI: https://cubewp.com
  • cubewp-framework/trunk/cube/assets/admin/js/cwp-form-builder.js

    r3157208 r3170292  
    8383        }
    8484    );
    85     if(!jQuery('body').hasClass('cubewp_page_cubewp-loop-builder')){
     85    var trigger = false;
     86    if(jQuery('body').hasClass('cubewp-addon-frontend-pro-active') && !jQuery('body').hasClass('cubewp_page_cubewp-loop-builder')){
     87        trigger = true;
     88    }else if(!jQuery('body').hasClass('cubewp-addon-frontend-pro-active')){
     89        trigger = true;
     90    }
     91    if(trigger){
    8692       
    8793        $(document).on(
  • cubewp-framework/trunk/cube/assets/admin/js/cwp-options.js

    r3155340 r3170292  
    143143
    144144        jQuery.ajax({
    145             type: 'POST', url: cwp_settings.ajax_url, dataType: 'json', data: {
     145            type: 'POST', url: cubewp_settings_params.ajax_url, dataType: 'json', data: {
    146146                action: 'cwp_get_font_attributes', font_family: _val,
    147147            }, success: function (response) {
    148148                thisObj.closest('.cwp-typography-container').find('.typography-style select').html(response.font_styles);
    149                 thisObj.closest('.cwp-typography-container').find('.typography-style select').val(s_font_style).select2("destroy").select2();
     149                //thisObj.closest('.cwp-typography-container').find('.typography-style select').val(s_font_style).select2("destroy").select2();
    150150                thisObj.closest('.cwp-typography-container').find('.typography-subset select').html(response.font_subsets);
    151                 thisObj.closest('.cwp-typography-container').find('.typography-subset select').val(s_font_subset).select2("destroy").select2();
     151                //thisObj.closest('.cwp-typography-container').find('.typography-subset select').val(s_font_subset).select2("destroy").select2();
    152152            }
    153153        });
  • cubewp-framework/trunk/cube/classes/class-cubewp-load.php

    r3167922 r3170292  
    2121     * @var string
    2222     */
    23     public static $CubeWp_version = '1.1.20';
     23    public static $CubeWp_version = '1.1.21';
    2424   
    2525    /**
  • cubewp-framework/trunk/cube/modules/settings/class-cubewp-settings-ajax-hooks.php

    r2905998 r3170292  
    124124    }
    125125
    126     public function cwp_get_font_attributes(){
     126    public static function cwp_get_font_attributes(){
    127127       
    128128        $font_family            = isset($_POST['font_family']) ? sanitize_text_field($_POST['font_family']) : '';
  • cubewp-framework/trunk/cube/modules/settings/class-cubewp-settings-fields.php

    r3155340 r3170292  
    754754   
    755755    public function font_styles_options( $output = '', $font_family = '' ){
    756         $google_fonts = apply_filters("cubewp/settings/google_fonts", array());
     756        $google_fonts = apply_filters("cubewp/settings/google_fonts", self::google_fonts());
    757757       
    758758        $options = array();
     
    766766   
    767767    public function font_subsets_options( $output = '', $font_family = '' ){
    768         $google_fonts = apply_filters("cubewp/settings/google_fonts", array());
     768        $google_fonts = apply_filters("cubewp/settings/google_fonts", self::google_fonts());
    769769       
    770770        $options = array();
  • cubewp-framework/trunk/readme.txt

    r3167922 r3170292  
    66Requires PHP: 7.4
    77Tested up to: 6.4.3
    8 Stable tag: 1.1.20
     8Stable tag: 1.1.21
    99License: GPLv2 or later
    1010
     
    377377== Changelog ==
    378378
     379= 1.1.21 2024-10-16
     380
     381- FIXED: Post-Card Customizer Code editor issue.
     382- FIXED: Google fonts subsets and variants issue in CubeWP Settings.
     383- FIXED: "cubewp/settings/google_fonts" Hooks added to include your own fonts in CubeWP Settings for font selection.
     384
    379385= 1.1.20 2024-10-13
    380386
Note: See TracChangeset for help on using the changeset viewer.