Plugin Directory

Changeset 3330131


Ignore:
Timestamp:
07/18/2025 10:32:48 AM (7 months ago)
Author:
gradientthemes
Message:

fix hotel demo errors

Location:
gradient-starter-templates/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gradient-starter-templates/trunk/gradient-starter-templates.php

    r3316401 r3330131  
    1010Plugin Name:    Starter Templates by Gradient Themes
    1111Description:    Plugin used to install demo data for themes developed and submitted by Gradient Themes.
    12 Version:        1.2.7
     12Version:        1.2.8
    1313Author:         gradientthemes
    1414Author URI:     www.gradientthemes.com
    15 Tested up to:   6.7
     15Tested up to:   6.8.2
    1616Generated By:   http://gradientthemes.com
    1717License:        GPL-2.0+
     
    2121
    2222/*Define Constants for this plugin*/
    23 define( 'gradient_starter_templates_VERSION', '1.2.6' );
     23define( 'gradient_starter_templates_VERSION', '1.2.8' );
    2424define( 'gradient_starter_templates_PLUGIN_NAME', 'gradient-starter-templates' );
    2525define( 'gradient_starter_templates_PATH', plugin_dir_path( __FILE__ ) );
     
    2727define( 'gradient_starter_templates_TEMPLATE_URL', gradient_starter_templates_URL.'includes/demo-data/' );
    2828define( 'gradient_starter_templates_SCRIPT_PREFIX', ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '' );
     29
     30
     31add_filter( 'doing_it_wrong_trigger_error', '__return_false' );
    2932
    3033/**
  • gradient-starter-templates/trunk/includes/functions.php

    r3316401 r3330131  
    1111    if ($theme->parent()) {
    1212      // Get the parent theme slug
    13       $parent_theme_slug = ""; //$theme->parent()->get('TextDomain');
     13      $parent_theme_slug = $theme->parent()->get('TextDomain');
    1414      return $parent_theme_slug;
    1515    } else {
    16       return ""; //$theme->get('TextDomain');
     16      return $theme->get('TextDomain');
    1717    }
    1818}
     
    2929function gradient_starter_templates_is_pro(){
    3030   
    31     //echo gradient_starter_templates_get_current_theme_slug();
     31    echo "current theme: " . gradient_starter_templates_get_current_theme_slug();
    3232   
    3333    if(gradient_starter_templates_get_current_theme_slug()=='best-shop' && function_exists('best_shop_pro_textdomain') ){
     
    9393             'business-agency' =>array(
    9494                  'title' => __( 'Business / Agency', 'wp-starter-templates' ),/*Title*/
    95                   'is_pro' => gradient_starter_templates_is_pro(),/*Premium*/
     95                  'is_pro' => false,/*Premium*/
    9696                  'pro_url' => 'https://gradientthemes.com/',
    9797                  'type' => 'elementor', /*Optional eg elementor or other page builders*/
  • gradient-starter-templates/trunk/readme.txt

    r3316401 r3330131  
    44Tags: import, content, demo, data, widgets, settings, redux, theme options
    55Requires at least: 4.9
    6 Tested up to: 6.7
    7 Stable tag: 1.2.7
     6Tested up to: 6.8.2
     7Stable tag: 1.2.8
    88Requires PHP: 5.6
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.