Changeset 3444448
- Timestamp:
- 01/21/2026 10:48:00 PM (2 months ago)
- Location:
- dont-mess-up-prod
- Files:
-
- 2 added
- 4 edited
- 1 copied
-
tags/1.0.0 (copied) (copied from dont-mess-up-prod/trunk)
-
tags/1.0.0/dont-mess-up-prod.php (modified) (2 diffs)
-
tags/1.0.0/includes/class-admin-settings.php (added)
-
tags/1.0.0/includes/class-environment-indicator.php (modified) (2 diffs)
-
trunk/dont-mess-up-prod.php (modified) (2 diffs)
-
trunk/includes/class-admin-settings.php (added)
-
trunk/includes/class-environment-indicator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dont-mess-up-prod/tags/1.0.0/dont-mess-up-prod.php
r3423941 r3444448 4 4 * Plugin URI: https://github.com/davekellam/dont-mess-up-prod 5 5 * Description: Displays the current environment in the admin bar 6 * Version: 0.9.16 * Version: 1.0.0 7 7 * Requires at least: 6.7 8 8 * Requires PHP: 8.0 … … 20 20 namespace DontMessUpProd; 21 21 22 define( 'DONT_MESS_UP_PROD_VERSION', '0.9.1' ); 22 if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly 23 24 define( 'DONT_MESS_UP_PROD_VERSION', '1.0.0' ); 23 25 24 26 require_once plugin_dir_path( __FILE__ ) . 'includes/class-environment-indicator.php'; 27 require_once plugin_dir_path( __FILE__ ) . 'includes/class-admin-settings.php'; 28 25 29 Environment_Indicator::get_instance(); 30 Admin_Settings::get_instance(); -
dont-mess-up-prod/tags/1.0.0/includes/class-environment-indicator.php
r3423941 r3444448 10 10 11 11 namespace DontMessUpProd; 12 13 if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly 12 14 13 15 use WP_Admin_Bar; … … 184 186 185 187 /** 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 /** 186 199 * Gets environment colors with filter support 187 200 * -
dont-mess-up-prod/trunk/dont-mess-up-prod.php
r3423941 r3444448 4 4 * Plugin URI: https://github.com/davekellam/dont-mess-up-prod 5 5 * Description: Displays the current environment in the admin bar 6 * Version: 0.9.16 * Version: 1.0.0 7 7 * Requires at least: 6.7 8 8 * Requires PHP: 8.0 … … 20 20 namespace DontMessUpProd; 21 21 22 define( 'DONT_MESS_UP_PROD_VERSION', '0.9.1' ); 22 if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly 23 24 define( 'DONT_MESS_UP_PROD_VERSION', '1.0.0' ); 23 25 24 26 require_once plugin_dir_path( __FILE__ ) . 'includes/class-environment-indicator.php'; 27 require_once plugin_dir_path( __FILE__ ) . 'includes/class-admin-settings.php'; 28 25 29 Environment_Indicator::get_instance(); 30 Admin_Settings::get_instance(); -
dont-mess-up-prod/trunk/includes/class-environment-indicator.php
r3423941 r3444448 10 10 11 11 namespace DontMessUpProd; 12 13 if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly 12 14 13 15 use WP_Admin_Bar; … … 184 186 185 187 /** 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 /** 186 199 * Gets environment colors with filter support 187 200 *
Note: See TracChangeset
for help on using the changeset viewer.