Changeset 38762 for trunk/tests/phpunit/tests/hooks/remove_filter.php
- Timestamp:
- 10/09/2016 01:11:14 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/remove_filter.php
r38571 r38762 11 11 $callback = '__return_null'; 12 12 $hook = new WP_Hook(); 13 $tag = rand_str();13 $tag = __FUNCTION__; 14 14 $priority = rand( 1, 100 ); 15 15 $accepted_args = rand( 1, 100 ); … … 25 25 $callback = array( $a, 'action' ); 26 26 $hook = new WP_Hook(); 27 $tag = rand_str();27 $tag = __FUNCTION__; 28 28 $priority = rand( 1, 100 ); 29 29 $accepted_args = rand( 1, 100 ); … … 38 38 $callback = array( 'MockAction', 'action' ); 39 39 $hook = new WP_Hook(); 40 $tag = rand_str();40 $tag = __FUNCTION__; 41 41 $priority = rand( 1, 100 ); 42 42 $accepted_args = rand( 1, 100 ); … … 52 52 $callback_two = '__return_false'; 53 53 $hook = new WP_Hook(); 54 $tag = rand_str();54 $tag = __FUNCTION__; 55 55 $priority = rand( 1, 100 ); 56 56 $accepted_args = rand( 1, 100 ); … … 68 68 $callback_two = '__return_false'; 69 69 $hook = new WP_Hook(); 70 $tag = rand_str();70 $tag = __FUNCTION__; 71 71 $priority = rand( 1, 100 ); 72 72 $accepted_args = rand( 1, 100 );
Note: See TracChangeset
for help on using the changeset viewer.