Plugin Directory

Changeset 3229212


Ignore:
Timestamp:
01/27/2025 08:14:51 AM (14 months ago)
Author:
walkerwp
Message:

Commit message

Location:
walker-core/trunk
Files:
1184 added
2 edited

Legend:

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

    r3227834 r3229212  
    55Requires at least: 5.9
    66Tested up to: 6.6
    7 Stable tag: 1.3.16
     7Stable tag: 1.3.17
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333
    3434== Changelog ==
     35= 1.3.17 - 27 January, 2025 =
     36* Update freemius SDK to 2.11.0
     37
    3538= 1.3.16 - 24 January, 2025 =
    3639* Adding demo importer and pro patterns for theme "NewsWP"
  • walker-core/trunk/walker-core.php

    r3227834 r3229212  
    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.16
     19 * Version:           1.3.17
    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.
    34     function wc_fs()
    35     {
     34    function wc_fs() {
    3635        global  $wc_fs;
    3736
    38         if (!isset($wc_fs)) {
     37        if ( ! isset( $wc_fs ) ) {
    3938            // Include Freemius SDK.
    4039            require_once __DIR__ . '/freemius/start.php';
     
    6564    wc_fs();
    6665    // Signal that SDK was initiated.
    67     do_action('wc_fs_loaded');
     66    do_action( 'wc_fs_loaded' );
    6867}
    6968
     
    7372 * Rename this for your plugin and update it as you release new versions.
    7473 */
    75 define('WALKER_CORE_VERSION', '1.3.16');
    76 define('WALKER_CORE_PATH', plugin_dir_path(__FILE__));
    77 define('WALKER_CORE_URL', plugin_dir_url(__FILE__));
    78 define('WALKER_CORE_SETUP_TEMPLATE_URL', WALKER_CORE_URL . 'includes/demo-data/');
    79 define('WALKER_CORE_SETUP_SCRIPT_PREFIX', (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : ''));
     74define( 'WALKER_CORE_VERSION', '1.3.17' );
     75define( 'WALKER_CORE_PATH', plugin_dir_path( __FILE__ ) );
     76define( 'WALKER_CORE_URL', plugin_dir_url( __FILE__ ) );
     77define( 'WALKER_CORE_SETUP_TEMPLATE_URL', WALKER_CORE_URL . 'includes/demo-data/' );
     78define( 'WALKER_CORE_SETUP_SCRIPT_PREFIX', ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '' ) );
    8079/**
    8180 * The code that runs during plugin activation.
    8281 * This action is documented in includes/class-walker-core-activator.php
    8382 */
    84 function activate_walker_core()
    85 {
    86     require_once plugin_dir_path(__FILE__) . 'includes/class-walker-core-activator.php';
     83function activate_walker_core() {
     84    require_once plugin_dir_path( __FILE__ ) . 'includes/class-walker-core-activator.php';
    8785    Walker_Core_Activator::activate();
    8886}
     
    9290 * This action is documented in includes/class-walker-core-deactivator.php
    9391 */
    94 function deactivate_walker_core()
    95 {
    96     require_once plugin_dir_path(__FILE__) . 'includes/class-walker-core-deactivator.php';
     92function deactivate_walker_core() {
     93    require_once plugin_dir_path( __FILE__ ) . 'includes/class-walker-core-deactivator.php';
    9794    Walker_Core_Deactivator::deactivate();
    9895}
    9996
    100 register_activation_hook(__FILE__, 'activate_walker_core');
    101 register_deactivation_hook(__FILE__, 'deactivate_walker_core');
     97register_activation_hook( __FILE__, 'activate_walker_core' );
     98register_deactivation_hook( __FILE__, 'deactivate_walker_core' );
    10299/**
    103100 * The core plugin class that is used to define internationalization,
    104101 * admin-specific hooks, and public-facing site hooks.
    105102 */
    106 require plugin_dir_path(__FILE__) . 'includes/class-walker-core.php';
     103require plugin_dir_path( __FILE__ ) . 'includes/class-walker-core.php';
    107104/**
    108105 * Begins execution of the plugin.
     
    114111 * @since    1.0.0
    115112 */
    116 function run_walker_core()
    117 {
     113function run_walker_core() {
    118114    $plugin = new Walker_Core();
    119115    $plugin->run();
Note: See TracChangeset for help on using the changeset viewer.