WordPress.org

Plugin Directory

Changeset 2672648

Timestamp:
02/04/2022 04:42:30 AM (5 months ago)
Author:
hashthemes
Message:

Undefined index error in typography fixed

Location:
mini-ajax-woo-cart
Files:
73 added
3 edited

Legend:

Unmodified
Added
Removed
  • mini-ajax-woo-cart/trunk/google-fonts-list.php

    r2671892 r2672648  
    225225    $css = array();
    226226
    227     $family = majc_verify_settings($meta[$key . '_font_family']);
    228     $style = majc_verify_settings($meta[$key . '_font_style']);
    229     $text_decoration = majc_verify_settings($meta[$key . '_text_decoration']);
    230     $text_transform = majc_verify_settings($meta[$key . '_text_transform']);
    231     $size = majc_verify_settings($meta[$key . '_font_size']);
    232     $line_height = majc_verify_settings($meta[$key . '_line_height']);
    233     $letter_spacing = majc_verify_settings($meta[$key . '_letter_spacing']);
    234     $color = majc_verify_settings($meta[$key . '_font_color']);
     227    $family = ;
     228    $style = ;
     229    $text_decoration = ;
     230    $text_transform = ;
     231    $size = ;
     232    $line_height = ;
     233    $letter_spacing = ;
     234    $color = ;
    235235
    236236    if (strpos($style, 'italic')) {
     
    269269
    270270            if (isset($majc_settings['display']['enable_flying_cart']) && isset($majc_settings['custom']['enable'])) {
    271                 $font_family_array[] = $majc_settings['custom']['header_title_font_family'];
    272                 $font_family_array[] = $majc_settings['custom']['content_font_family'];
    273                 $font_family_array[] = $majc_settings['custom']['product_title_font_family'];
    274                 $font_family_array[] = $majc_settings['custom']['button_text_font_family'];
     271                if (isset($majc_settings['custom']['header_title_font_family'])) {
     272                    $font_family_array[] = $majc_settings['custom']['header_title_font_family'];
     273                }
     274                if (isset($majc_settings['custom']['content_font_family'])) {
     275                    $font_family_array[] = $majc_settings['custom']['content_font_family'];
     276                }
     277                if (isset($majc_settings['custom']['product_title_font_family'])) {
     278                    $font_family_array[] = $majc_settings['custom']['product_title_font_family'];
     279                }
     280                if (isset($majc_settings['custom']['button_text_font_family'])) {
     281                    $font_family_array[] = $majc_settings['custom']['button_text_font_family'];
     282                }
    275283            }
    276284
  • mini-ajax-woo-cart/trunk/mini-ajax-cart.php

    r2671892 r2672648  
    66  Plugin URI: https://github.com/pzstar/mini-ajax-woo-cart
    77  Description: Ajax, Floating, Slide In, Popup Cart For WordPress with WooCommerce
    8   Version:     1.0.7
     8  Version:     1.0.
    99  Author:      HashThemes
    1010  Author URI:  http://hashthemes.com
     
    3535
    3636        public function define_constants() {
    37             defined('MAJC_VERSION') or define('MAJC_VERSION', '1.0.7'); //plugin version
     37            defined('MAJC_VERSION') or define('MAJC_VERSION', '1.0.'); //plugin version
    3838
    3939            defined('MAJC_TD') or define('MAJC_TD', 'mini-ajax-cart'); //plugin's text domain
  • mini-ajax-woo-cart/trunk/readme.txt

    r2671892 r2672648  
    44Requires at least: 5.0
    55Tested up to: 5.9
    6 Stable tag: 1.0.7
     6Stable tag: 1.0.
    77Requires PHP: 5.0
    88License: GPLv2 or later
     
    163163<a href="https://1.envato.market/2rKYB0">WooCommerce Cart</a>&nbsp;&nbsp;<a href="https://demo.hashthemes.com/ultimate-woocommerce-cart/slide-in-cart/">Demo Site</a>&nbsp;&nbsp;<a href="https://hashthemes.com/documentation/ultimate-woocommerce-cart-documentation/">Documentation</a>
    164164
     165
     166
     167
     168
    165169= 1.0.7 =
    166170* Change in admin design
     
    192196= 1.0.0 =
    193197* Release
    194 
    195 == Upgrade Notice ==
    196 
    197 = 1.0 =
    198 Release
Note: See TracChangeset for help on using the changeset viewer.