Changeset 2623760
- Timestamp:
- 11/03/2021 07:33:08 AM (3 years ago)
- Location:
- version-switcher
- Files:
-
- 1 added
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
version-switcher/trunk/inc/plugin.php
r2394646 r2623760 12 12 private static $instance = null; 13 13 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 14 29 public function init() { 15 30 16 31 //enqueue admin style & scripts 17 32 add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) ); 18 33 19 34 //includes file 20 35 self::include_file(); 21 36 22 37 //add plugin setting page 23 38 add_action( 'admin_menu', array( $this, 'menu_page' ) ); 24 39 25 40 //regiter commands 26 41 $this->registerCommands(); -
version-switcher/trunk/readme.txt
r2579598 r2623760 2 2 Plugin Name: Version Switcher 3 3 Contributors: iqbalrony,obiplabon,harunrrayhan 4 Version: 1.0.0 4 Version: 1.0.1 5 Stable tag: trunk 5 6 License: GPLv2 or later 6 7 License URI: https://www.gnu.org/licenses/gpl-2.0.html 7 Requires PHP: 5. 68 Requires PHP: 5.4 8 9 Requires 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 10 Tested up to: 5.8.1 11 Tags: version-switcher,wp-version-switcher,version,switcher,version-switch,update,switch,version-switching,switch-version,rollback. 12 12 13 13 **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 5 5 * Author: IqbalRony 6 6 * Author URI: http://www.iqbalrony.com 7 * Version: 1.0. 07 * Version: 1.0.1 8 8 * License: GPLv2 or later 9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 } 17 17 18 define( 'IRVS_VERSION', '1.0. 0' );18 define( 'IRVS_VERSION', '1.0.1' ); 19 19 define( 'IRVS__FILE__', __FILE__ ); 20 20 define( 'IRVS_DIR_PATH', plugin_dir_path( IRVS__FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.