Plugin Directory

Changeset 3444448


Ignore:
Timestamp:
01/21/2026 10:48:00 PM (2 months ago)
Author:
eightface
Message:

Update to version 1.0.0 from GitHub

Location:
dont-mess-up-prod
Files:
2 added
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • dont-mess-up-prod/tags/1.0.0/dont-mess-up-prod.php

    r3423941 r3444448  
    44 * Plugin URI:        https://github.com/davekellam/dont-mess-up-prod
    55 * Description:       Displays the current environment in the admin bar
    6  * Version:           0.9.1
     6 * Version:           1.0.0
    77 * Requires at least: 6.7
    88 * Requires PHP:      8.0
     
    2020namespace DontMessUpProd;
    2121
    22 define( 'DONT_MESS_UP_PROD_VERSION', '0.9.1' );
     22if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
     23
     24define( 'DONT_MESS_UP_PROD_VERSION', '1.0.0' );
    2325
    2426require_once plugin_dir_path( __FILE__ ) . 'includes/class-environment-indicator.php';
     27require_once plugin_dir_path( __FILE__ ) . 'includes/class-admin-settings.php';
     28
    2529Environment_Indicator::get_instance();
     30Admin_Settings::get_instance();
  • dont-mess-up-prod/tags/1.0.0/includes/class-environment-indicator.php

    r3423941 r3444448  
    1010
    1111namespace DontMessUpProd;
     12
     13if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
    1214
    1315use WP_Admin_Bar;
     
    184186
    185187    /**
     188     * Gets the default environment colors without filters
     189     *
     190     * @since 1.0.0
     191     *
     192     * @return array<string, string> Default environment colors array
     193     */
     194    public function get_default_colors(): array {
     195        return $this->default_colors;
     196    }
     197
     198    /**
    186199     * Gets environment colors with filter support
    187200     *
  • dont-mess-up-prod/trunk/dont-mess-up-prod.php

    r3423941 r3444448  
    44 * Plugin URI:        https://github.com/davekellam/dont-mess-up-prod
    55 * Description:       Displays the current environment in the admin bar
    6  * Version:           0.9.1
     6 * Version:           1.0.0
    77 * Requires at least: 6.7
    88 * Requires PHP:      8.0
     
    2020namespace DontMessUpProd;
    2121
    22 define( 'DONT_MESS_UP_PROD_VERSION', '0.9.1' );
     22if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
     23
     24define( 'DONT_MESS_UP_PROD_VERSION', '1.0.0' );
    2325
    2426require_once plugin_dir_path( __FILE__ ) . 'includes/class-environment-indicator.php';
     27require_once plugin_dir_path( __FILE__ ) . 'includes/class-admin-settings.php';
     28
    2529Environment_Indicator::get_instance();
     30Admin_Settings::get_instance();
  • dont-mess-up-prod/trunk/includes/class-environment-indicator.php

    r3423941 r3444448  
    1010
    1111namespace DontMessUpProd;
     12
     13if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
    1214
    1315use WP_Admin_Bar;
     
    184186
    185187    /**
     188     * Gets the default environment colors without filters
     189     *
     190     * @since 1.0.0
     191     *
     192     * @return array<string, string> Default environment colors array
     193     */
     194    public function get_default_colors(): array {
     195        return $this->default_colors;
     196    }
     197
     198    /**
    186199     * Gets environment colors with filter support
    187200     *
Note: See TracChangeset for help on using the changeset viewer.