Changeset 46689
- Timestamp:
- 11/09/2019 01:55:43 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/plugin.php
r46568 r46689 612 612 * 613 613 * // Deprecated. 614 * return apply_filters_deprecated( 'wpdocs_filter', array( $value, $extra_arg ), '4.9 ', 'wpdocs_new_filter' );614 * return apply_filters_deprecated( 'wpdocs_filter', array( $value, $extra_arg ), '4.9.0', 'wpdocs_new_filter' ); 615 615 * 616 616 * @since 4.6.0 -
trunk/tests/phpunit/tests/actions.php
r46586 r46689 547 547 548 548 add_action( 'tests_do_action_deprecated', array( __CLASS__, 'deprecated_action_callback' ) ); 549 do_action_deprecated( 'tests_do_action_deprecated', array( $p ), '4.6 ' );549 do_action_deprecated( 'tests_do_action_deprecated', array( $p ), '4.6.0' ); 550 550 remove_action( 'tests_do_action_deprecated', array( __CLASS__, 'deprecated_action_callback' ) ); 551 551 … … 566 566 567 567 add_action( 'tests_do_action_deprecated', array( __CLASS__, 'deprecated_action_callback_multiple_params' ), 10, 2 ); 568 do_action_deprecated( 'tests_do_action_deprecated', array( $p1, $p2 ), '4.6 ' );568 do_action_deprecated( 'tests_do_action_deprecated', array( $p1, $p2 ), '4.6.0' ); 569 569 remove_action( 'tests_do_action_deprecated', array( __CLASS__, 'deprecated_action_callback_multiple_params' ), 10, 2 ); 570 570 -
trunk/tests/phpunit/tests/filters.php
r46586 r46689 304 304 305 305 add_filter( 'tests_apply_filters_deprecated', array( __CLASS__, 'deprecated_filter_callback' ) ); 306 $p = apply_filters_deprecated( 'tests_apply_filters_deprecated', array( $p ), '4.6 ' );306 $p = apply_filters_deprecated( 'tests_apply_filters_deprecated', array( $p ), '4.6.0' ); 307 307 remove_filter( 'tests_apply_filters_deprecated', array( __CLASS__, 'deprecated_filter_callback' ) ); 308 308 … … 324 324 325 325 add_filter( 'tests_apply_filters_deprecated', array( __CLASS__, 'deprecated_filter_callback_multiple_params' ), 10, 2 ); 326 $p1 = apply_filters_deprecated( 'tests_apply_filters_deprecated', array( $p1, $p2 ), '4.6 ' );326 $p1 = apply_filters_deprecated( 'tests_apply_filters_deprecated', array( $p1, $p2 ), '4.6.0' ); 327 327 remove_filter( 'tests_apply_filters_deprecated', array( __CLASS__, 'deprecated_filter_callback_multiple_params' ), 10, 2 ); 328 328 … … 346 346 $val = 'Foobar'; 347 347 348 $this->assertSame( $val, apply_filters_deprecated( 'tests_apply_filters_deprecated', array( $val ), '4.6 ' ) );348 $this->assertSame( $val, apply_filters_deprecated( 'tests_apply_filters_deprecated', array( $val ), '4.6.0' ) ); 349 349 } 350 350
Note: See TracChangeset
for help on using the changeset viewer.