Plugin Directory

Changeset 2623760


Ignore:
Timestamp:
11/03/2021 07:33:08 AM (3 years ago)
Author:
iqbalrony
Message:

Releasing version 1.0.1

Location:
version-switcher
Files:
1 added
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • version-switcher/trunk/inc/plugin.php

    r2394646 r2623760  
    1212    private static $instance = null;
    1313
     14    private function __construct() {
     15        add_action( 'init', [ $this, 'i18n' ] );
     16    }
     17   
     18    /**
     19     * Text Domain Register.
     20     */
     21    public function i18n() {
     22        load_plugin_textdomain(
     23            'version-switcher',
     24            false,
     25            dirname( plugin_basename( IRVS__FILE__ ) ) . '/i18n/'
     26        );
     27    }
     28
    1429    public function init() {
    1530
    1631        //enqueue admin style & scripts
    1732        add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
    18        
     33
    1934        //includes file
    2035        self::include_file();
    21        
     36
    2237        //add plugin setting page
    2338        add_action( 'admin_menu', array( $this, 'menu_page' ) );
    24        
     39
    2540        //regiter commands
    2641        $this->registerCommands();
  • version-switcher/trunk/readme.txt

    r2579598 r2623760  
    22Plugin Name: Version Switcher
    33Contributors: iqbalrony,obiplabon,harunrrayhan
    4 Version: 1.0.0
     4Version: 1.0.1
     5Stable tag: trunk
    56License: GPLv2 or later
    67License URI: https://www.gnu.org/licenses/gpl-2.0.html
    7 Requires PHP: 5.6
     8Requires PHP: 5.4
    89Requires at least: 4.5
    9 Tested up to: 5.8
    10 Stable tag: trunk
    11 Tags: Version Switcher, Plugin Version Switcher, Switcher, Rollback, Version Switch
     10Tested up to: 5.8.1
     11Tags: version-switcher,wp-version-switcher,version,switcher,version-switch,update,switch,version-switching,switch-version,rollback.
    1212
    1313**Version Switcher** is a very simple plugin which will help you to switch instantly between all plugin's version which exists in WordPress org and there is no anxiety about download and upload task because just one click will do that for you.
  • version-switcher/trunk/version-switcher.php

    r2394646 r2623760  
    55 * Author: IqbalRony
    66 * Author URI: http://www.iqbalrony.com
    7  * Version: 1.0.0
     7 * Version: 1.0.1
    88 * License: GPLv2 or later
    99 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1616}
    1717
    18 define( 'IRVS_VERSION', '1.0.0' );
     18define( 'IRVS_VERSION', '1.0.1' );
    1919define( 'IRVS__FILE__', __FILE__ );
    2020define( 'IRVS_DIR_PATH', plugin_dir_path( IRVS__FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.