Plugin Directory

Changeset 3215783


Ignore:
Timestamp:
01/02/2025 03:54:38 AM (12 months ago)
Author:
gradientthemes
Message:

Fixed demo import error

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

Legend:

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

    r3199073 r3215783  
    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.3
     12Version:        1.2.4
    1313Author:         gradientthemes
    1414Author URI:     www.gradientthemes.com
     
    2121
    2222/*Define Constants for this plugin*/
    23 define( 'gradient_starter_templates_VERSION', '1.2.3' );
     23define( 'gradient_starter_templates_VERSION', '1.2.4' );
    2424define( 'gradient_starter_templates_PLUGIN_NAME', 'gradient-starter-templates' );
    2525define( 'gradient_starter_templates_PATH', plugin_dir_path( __FILE__ ) );
  • gradient-starter-templates/trunk/includes/functions.php

    r3199073 r3215783  
    2121    //echo gradient_starter_templates_get_current_theme_slug();
    2222   
     23   
    2324    if(gradient_starter_templates_get_current_theme_slug()=='best-shop' && function_exists('best_shop_pro_textdomain') ){
    24         return false;
     25        return true;
    2526    }
    2627   
    2728    if(gradient_starter_templates_get_current_theme_slug()=='news-blog' && function_exists('news_blog_pro_textdomain') ){
    28         return false;
     29        return true;
    2930    }
    3031   
    3132    if(gradient_starter_templates_get_current_theme_slug()=='hotel-and-travel' && function_exists('hotel_and_travel_pro_textdomain') ){
    32         return false;
     33        return true;
    3334    }     
    3435   
    35     return true;
     36    return false;
     37   
    3638}
    3739
  • gradient-starter-templates/trunk/readme.txt

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