Plugin Directory

Changeset 2939156


Ignore:
Timestamp:
07/16/2023 11:28:24 AM (3 years ago)
Author:
walkerwp
Message:

init 1.3.3

Location:
walker-core
Files:
692 added
2 edited

Legend:

Unmodified
Added
Removed
  • walker-core/trunk/README.txt

    r2863872 r2939156  
    33Tags: testimonial, slider, teams, portfolio, faqs, brand-logo-carousel, post-type
    44Requires PHP: 7.3.0
    5 Requires at least: 5.7
    6 Tested up to: 6.1
    7 Stable tag: 1.3.2
     5Requires at least: 5.9
     6Tested up to: 6.2
     7Stable tag: 1.3.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333
    3434== Changelog ==
     35= 1.3.3 - 16 July 2023 =
     36* Tested up to 6.2
     37* Adding demo for "BlockVerse" Theme
     38
    3539= 1.3.2 - 12 February 2023 =
    3640* Adding demo for "Story News" Theme
  • walker-core/trunk/walker-core.php

    r2863872 r2939156  
    1717 * Plugin URI:        https://walkerwp.com/walker-core/
    1818 * Description:       Walker Core is the companion plugin for WalkerWP Themes, which provides core functionality and custom post type for the themes.
    19  * Version:           1.3.2
     19 * Version:           1.3.3
    2020 * Author:            WalkerWp
    2121 * Author URI:        https://walkerwp.com/
     
    2626 */
    2727// If this file is called directly, abort.
    28 if ( !defined( 'WPINC' ) ) {
     28if (!defined('WPINC')) {
    2929    die;
    3030}
    3131
    32 if ( !function_exists( 'wc_fs' ) ) {
     32if (!function_exists('wc_fs')) {
    3333    // Create a helper function for easy SDK access.
    3434    function wc_fs()
    3535    {
    36         global  $wc_fs ;
    37        
    38         if ( !isset( $wc_fs ) ) {
     36        global  $wc_fs;
     37
     38        if (!isset($wc_fs)) {
    3939            // Include Freemius SDK.
    40             require_once dirname( __FILE__ ) . '/freemius/start.php';
    41             $wc_fs = fs_dynamic_init( array(
     40            require_once dirname(__FILE__) . '/freemius/start.php';
     41            $wc_fs = fs_dynamic_init(array(
    4242                'id'             => '8355',
    4343                'slug'           => 'walker-core',
     
    5050                'has_paid_plans' => true,
    5151                'menu'           => array(
    52                 'slug' => 'walker-core',
    53             ),
     52                    'slug' => 'walker-core',
     53                ),
    5454                'is_live'        => true,
    55             ) );
     55            ));
    5656        }
    57        
     57
    5858        return $wc_fs;
    5959    }
    60    
     60
    6161    // Init Freemius.
    6262    wc_fs();
    6363    // Signal that SDK was initiated.
    64     do_action( 'wc_fs_loaded' );
     64    do_action('wc_fs_loaded');
    6565}
    6666
     
    7070 * Rename this for your plugin and update it as you release new versions.
    7171 */
    72 define( 'WALKER_CORE_VERSION', '1.3.2' );
    73 define( 'WALKER_CORE_PATH', plugin_dir_path( __FILE__ ) );
    74 define( 'WALKER_CORE_URL', plugin_dir_url( __FILE__ ) );
    75 define( 'WALKER_CORE_SETUP_TEMPLATE_URL', WALKER_CORE_URL . 'includes/demo-data/' );
    76 define( 'WALKER_CORE_SETUP_SCRIPT_PREFIX', ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '' ) );
     72define('WALKER_CORE_VERSION', '1.3.3');
     73define('WALKER_CORE_PATH', plugin_dir_path(__FILE__));
     74define('WALKER_CORE_URL', plugin_dir_url(__FILE__));
     75define('WALKER_CORE_SETUP_TEMPLATE_URL', WALKER_CORE_URL . 'includes/demo-data/');
     76define('WALKER_CORE_SETUP_SCRIPT_PREFIX', (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : ''));
    7777/**
    7878 * The code that runs during plugin activation.
     
    8181function activate_walker_core()
    8282{
    83     require_once plugin_dir_path( __FILE__ ) . 'includes/class-walker-core-activator.php';
     83    require_once plugin_dir_path(__FILE__) . 'includes/class-walker-core-activator.php';
    8484    Walker_Core_Activator::activate();
    8585}
     
    9191function deactivate_walker_core()
    9292{
    93     require_once plugin_dir_path( __FILE__ ) . 'includes/class-walker-core-deactivator.php';
     93    require_once plugin_dir_path(__FILE__) . 'includes/class-walker-core-deactivator.php';
    9494    Walker_Core_Deactivator::deactivate();
    9595}
    9696
    97 register_activation_hook( __FILE__, 'activate_walker_core' );
    98 register_deactivation_hook( __FILE__, 'deactivate_walker_core' );
    99 wc_fs()->add_action( 'after_uninstall', 'wc_fs_uninstall_cleanup' );
     97register_activation_hook(__FILE__, 'activate_walker_core');
     98register_deactivation_hook(__FILE__, 'deactivate_walker_core');
     99wc_fs()->add_action('after_uninstall', 'wc_fs_uninstall_cleanup');
    100100/**
    101101 * The core plugin class that is used to define internationalization,
    102102 * admin-specific hooks, and public-facing site hooks.
    103103 */
    104 require plugin_dir_path( __FILE__ ) . 'includes/class-walker-core.php';
     104require plugin_dir_path(__FILE__) . 'includes/class-walker-core.php';
    105105/**
    106106 * Begins execution of the plugin.
Note: See TracChangeset for help on using the changeset viewer.