Plugin Directory

Changeset 3229209


Ignore:
Timestamp:
01/27/2025 08:13:30 AM (13 months ago)
Author:
poodleplugins
Message:

Version 2.0.1 release

Location:
wp-dev-flag
Files:
39 added
4 edited

Legend:

Unmodified
Added
Removed
  • wp-dev-flag/trunk/README.md

    r3018484 r3229209  
    66Requires PHP: 5.6
    77Tested up to: 6.4
    8 Stable tag: 1.3.1
     8Stable tag: 2.0.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6363## Changelog
    6464
     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
    6571#### v1.3.1 - 23 May 21
    6672- Bug fix: Add default option values to fix possible PHP notices.
  • wp-dev-flag/trunk/README.txt

    r3104249 r3229209  
    11=== WP Dev Flag ===
    22Contributors: poodleplugins
    3 Tags: banner, badge, flag, development, production
     3Tags: banner, badge, flag, banner, development, production, dev, localhost
    44Requires at least: 3.0.1
    55Requires PHP: 5.6
    6 Tested up to: 6.5.4
    7 Stable tag: 2.0.0
     6Tested up to: 6.7
     7Stable tag: 2.0.1
    88License: GPL-3.0+
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6464== Changelog ==
    6565
     66= v2.0.1 =
     67* Bug fixes & customiser error fix.
     68
    6669= v2.0.0 =
    6770* Full codebase rewrite. Remove code fluff, restructure code.
  • wp-dev-flag/trunk/includes/class-wp-dev-flag.php

    r3104246 r3229209  
    3838    public function __construct() {
    3939
    40         // Load plugin text domain
    41         add_action( 'init', array( $this, 'load_plugin_textdomain' ) );
    42 
    4340        // Load plugin settings
    4441        require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-wp-dev-flag-settings.php';
     
    5148        // Set default options
    5249        $this->set_default_options();
    53 
    54     }
    55 
    56     /**
    57      * Load the plugin text domain for translation.
    58      *
    59      * @since    1.0.0
    60      */
    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         );
    6850
    6951    }
  • wp-dev-flag/trunk/wp-dev-flag.php

    r3109785 r3229209  
    22/**
    33 * Plugin Name:     WP Dev Flag
    4  * Plugin URI:      https://poodleplugins.com/
     4 * Plugin URI:      https://poodleplugins.com/wp-dev-flag
    55 * Description:     Shows a floating badge on the front end, to visually distinguish your development site from production.
    6  * Version:         2.0.0
    7  * Author:          Poodle Plugins
     6 * Version:         2.0.1
     7 * Author:          Chris Allen
    88 * Author URI:      https://poodleplugins.com
    99 * License:         GPL-3.0+
     
    1616    exit; // Exit if accessed directly
    1717}
     18
     19define('WP_DEV_FLAG_VERSION', '2.0.1');
    1820
    1921/**
     
    2931add_action( 'plugins_loaded', 'wp_dev_flag_load_textdomain' );
    3032
    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 
    3833// Include the necessary files
    3934require_once plugin_dir_path( __FILE__ ) . 'includes/class-wp-dev-flag.php';
Note: See TracChangeset for help on using the changeset viewer.