- Timestamp:
- 01/03/2026 06:15:57 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/abilities-api/wpRegisterAbility.php
r61364 r61424 155 155 156 156 // Store the original action count. 157 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;157 $original_count = $wp_actions['init'] ?? 0; 158 158 159 159 // Reset the action count to simulate it not being fired. … … 451 451 452 452 // Store the original action count. 453 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;453 $original_count = $wp_actions['init'] ?? 0; 454 454 455 455 // Reset the action count to simulate it not being fired. … … 497 497 498 498 // Store the original action count. 499 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;499 $original_count = $wp_actions['init'] ?? 0; 500 500 501 501 // Reset the action count to simulate it not being fired. … … 560 560 561 561 // Store the original action count. 562 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;562 $original_count = $wp_actions['init'] ?? 0; 563 563 564 564 // Reset the action count to simulate it not being fired. … … 616 616 617 617 // Store the original action count. 618 $original_count = isset( $wp_actions['init'] ) ? $wp_actions['init'] :0;618 $original_count = $wp_actions['init'] ?? 0; 619 619 620 620 // Reset the action count to simulate it not being fired.
Note: See TracChangeset
for help on using the changeset viewer.