Changeset 3229209
- Timestamp:
- 01/27/2025 08:13:30 AM (13 months ago)
- Location:
- wp-dev-flag
- Files:
-
- 39 added
- 4 edited
-
tags/2.0.1 (added)
-
tags/2.0.1/LICENSE.txt (added)
-
tags/2.0.1/README.md (added)
-
tags/2.0.1/README.txt (added)
-
tags/2.0.1/admin (added)
-
tags/2.0.1/admin/class-wp-dev-flag-admin.php (added)
-
tags/2.0.1/admin/class-wp-dev-flag-settings.php (added)
-
tags/2.0.1/admin/css (added)
-
tags/2.0.1/admin/css/wp-dev-flag-admin.css (added)
-
tags/2.0.1/admin/index.php (added)
-
tags/2.0.1/admin/js (added)
-
tags/2.0.1/admin/js/wp-dev-flag-admin.js (added)
-
tags/2.0.1/admin/partials (added)
-
tags/2.0.1/admin/partials/wp-dev-flag-admin-display.php (added)
-
tags/2.0.1/css (added)
-
tags/2.0.1/css/wp-dev-flag-admin.css (added)
-
tags/2.0.1/includes (added)
-
tags/2.0.1/includes/class-wp-dev-flag-core.php (added)
-
tags/2.0.1/includes/class-wp-dev-flag-deactivator.php (added)
-
tags/2.0.1/includes/class-wp-dev-flag-i18n.php (added)
-
tags/2.0.1/includes/class-wp-dev-flag-loader.php (added)
-
tags/2.0.1/includes/class-wp-dev-flag-settings.php (added)
-
tags/2.0.1/includes/class-wp-dev-flag.php (added)
-
tags/2.0.1/includes/index.php (added)
-
tags/2.0.1/index.php (added)
-
tags/2.0.1/js (added)
-
tags/2.0.1/js/wp-dev-flag-admin.js (added)
-
tags/2.0.1/js/wp-dev-flag-public.js (added)
-
tags/2.0.1/languages (added)
-
tags/2.0.1/languages/wp-dev-flag.pot (added)
-
tags/2.0.1/public (added)
-
tags/2.0.1/public/class-wp-dev-flag-public.php (added)
-
tags/2.0.1/public/index.php (added)
-
tags/2.0.1/public/js (added)
-
tags/2.0.1/public/js/wp-dev-flag-public.js (added)
-
tags/2.0.1/uninstall.php (added)
-
tags/2.0.1/wp-dev-flag.php (added)
-
trunk/README.md (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-wp-dev-flag-core.php (added)
-
trunk/includes/class-wp-dev-flag-settings.php (added)
-
trunk/includes/class-wp-dev-flag.php (modified) (2 diffs)
-
trunk/wp-dev-flag.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-dev-flag/trunk/README.md
r3018484 r3229209 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.4 8 Stable tag: 1.3.18 Stable tag: 2.0.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 63 63 ## Changelog 64 64 65 #### v2.0.1 66 - Bug fixes & customiser error fix. 67 68 #### v2.0.0 69 - Full codebase rewrite. Remove code fluff, restructure code. 70 65 71 #### v1.3.1 - 23 May 21 66 72 - Bug fix: Add default option values to fix possible PHP notices. -
wp-dev-flag/trunk/README.txt
r3104249 r3229209 1 1 === WP Dev Flag === 2 2 Contributors: poodleplugins 3 Tags: banner, badge, flag, development, production3 Tags: banner, badge, flag, banner, development, production, dev, localhost 4 4 Requires at least: 3.0.1 5 5 Requires PHP: 5.6 6 Tested up to: 6. 5.47 Stable tag: 2.0. 06 Tested up to: 6.7 7 Stable tag: 2.0.1 8 8 License: GPL-3.0+ 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 64 64 == Changelog == 65 65 66 = v2.0.1 = 67 * Bug fixes & customiser error fix. 68 66 69 = v2.0.0 = 67 70 * Full codebase rewrite. Remove code fluff, restructure code. -
wp-dev-flag/trunk/includes/class-wp-dev-flag.php
r3104246 r3229209 38 38 public function __construct() { 39 39 40 // Load plugin text domain41 add_action( 'init', array( $this, 'load_plugin_textdomain' ) );42 43 40 // Load plugin settings 44 41 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-wp-dev-flag-settings.php'; … … 51 48 // Set default options 52 49 $this->set_default_options(); 53 54 }55 56 /**57 * Load the plugin text domain for translation.58 *59 * @since 1.0.060 */61 public function load_plugin_textdomain() {62 63 load_plugin_textdomain(64 'wp-dev-flag-plugin',65 false,66 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/'67 );68 50 69 51 } -
wp-dev-flag/trunk/wp-dev-flag.php
r3109785 r3229209 2 2 /** 3 3 * Plugin Name: WP Dev Flag 4 * Plugin URI: https://poodleplugins.com/ 4 * Plugin URI: https://poodleplugins.com/wp-dev-flag 5 5 * Description: Shows a floating badge on the front end, to visually distinguish your development site from production. 6 * Version: 2.0. 07 * Author: Poodle Plugins6 * Version: 2.0.1 7 * Author: Chris Allen 8 8 * Author URI: https://poodleplugins.com 9 9 * License: GPL-3.0+ … … 16 16 exit; // Exit if accessed directly 17 17 } 18 19 define('WP_DEV_FLAG_VERSION', '2.0.1'); 18 20 19 21 /** … … 29 31 add_action( 'plugins_loaded', 'wp_dev_flag_load_textdomain' ); 30 32 31 if ( ! function_exists( 'get_plugin_data' ) ) {32 require_once ABSPATH . 'wp-admin/includes/plugin.php';33 }34 35 $plugin_data = get_plugin_data( __FILE__ );36 define( 'WP_DEV_FLAG_VERSION', $plugin_data['Version'] );37 38 33 // Include the necessary files 39 34 require_once plugin_dir_path( __FILE__ ) . 'includes/class-wp-dev-flag.php';
Note: See TracChangeset
for help on using the changeset viewer.