Changeset 52389 for trunk/tests/phpunit/tests/hooks/hasFilters.php
- Timestamp:
- 12/19/2021 01:42:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/hasFilters.php
r50342 r52389 13 13 $hook = new WP_Hook(); 14 14 $tag = __FUNCTION__; 15 $priority = rand( 1, 100 );16 $accepted_args = rand( 1, 100 );15 $priority = 1; 16 $accepted_args = 2; 17 17 18 18 $hook->add_filter( $tag, $callback, $priority, $accepted_args ); … … 30 30 $hook = new WP_Hook(); 31 31 $tag = __FUNCTION__; 32 $priority = rand( 1, 100 );33 $accepted_args = rand( 1, 100 );32 $priority = 1; 33 $accepted_args = 2; 34 34 35 35 $hook->add_filter( $tag, $callback, $priority, $accepted_args ); … … 42 42 $hook = new WP_Hook(); 43 43 $tag = __FUNCTION__; 44 $priority = rand( 1, 100 );45 $accepted_args = rand( 1, 100 );44 $priority = 1; 45 $accepted_args = 2; 46 46 47 47 $hook->add_filter( $tag, $callback, $priority, $accepted_args );
Note: See TracChangeset
for help on using the changeset viewer.