Changeset 3118797
- Timestamp:
- 07/16/2024 02:09:26 AM (17 months ago)
- Location:
- show-environment-in-admin-bar/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
show-environment-in-admin-bar/trunk/plugin.php
r3118794 r3118797 69 69 */ 70 70 function init() { 71 global $wp_version; 72 71 73 /** 72 74 * Filters whether our node should be hidden in the Admin Bar. … … 87 89 // hopefully to the right of my-account 88 90 add_action( 'admin_bar_menu', array( __CLASS__, 'add_admin_bar_node' ), version_compare( $wp_version, '6.6-beta1', '>=' ) ? PHP_INT_MAX : PHP_INT_MIN ); 89 91 90 92 add_action( 'wp_enqueue_scripts', array( __CLASS__, 'enqueue_styles' ) ); 91 93 add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_styles' ) ); -
show-environment-in-admin-bar/trunk/readme.txt
r3118794 r3118797 5 5 Requires at least: 4.6 6 6 Tested up to: 6.6 7 Stable tag: 1.2 7 Stable tag: 1.2.1 8 8 License: GPLv2 or later 9 9 License URL: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 == Changelog == 56 56 57 = 1.2.1 (2024-07-15) = 58 59 * Bug fix: forgot to declare `$wp_version` as a global in `SHC_Show_Env:init()`. D'oh! 60 57 61 = 1.2 (2024-07-15) = 58 62
Note: See TracChangeset
for help on using the changeset viewer.