- Timestamp:
- 01/03/2026 06:15:57 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/abilities-api/wpRegisterAbilityCategory.php
r61130 r61424 83 83 84 84 // Store the original action count. 85 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;85 $original_count = $wp_actions['init'] ?? 0; 86 86 87 87 // Reset the action count to simulate it not being fired. … … 133 133 134 134 // Store the original action count. 135 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;135 $original_count = $wp_actions['init'] ?? 0; 136 136 137 137 // Reset the action count to simulate it not being fired. … … 195 195 196 196 // Store the original action count. 197 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;197 $original_count = $wp_actions['init'] ?? 0; 198 198 199 199 // Reset the action count to simulate it not being fired. … … 256 256 257 257 // Store the original action count. 258 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;258 $original_count = $wp_actions['init'] ?? 0; 259 259 260 260 // Reset the action count to simulate it not being fired. … … 329 329 330 330 // Store the original action count. 331 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;331 $original_count = $wp_actions['init'] ?? 0; 332 332 333 333 // Reset the action count to simulate it not being fired.
Note: See TracChangeset
for help on using the changeset viewer.