Changeset 46792
- Timestamp:
- 11/27/2019 11:53:31 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r46660 r46792 4924 4924 * @param string $hook The hook that was used. 4925 4925 * @param string $version The version of WordPress that deprecated the hook. 4926 * @param string $replacement Optional. The hook that should have been used. 4927 * @param string $message Optional. A message regarding the change. 4926 * @param string $replacement Optional. The hook that should have been used. Default null. 4927 * @param string $message Optional. A message regarding the change. Default null. 4928 4928 */ 4929 4929 function _deprecated_hook( $hook, $version, $replacement = null, $message = null ) { -
trunk/src/wp-includes/plugin.php
r46689 r46792 621 621 * @param array $args Array of additional function arguments to be passed to apply_filters(). 622 622 * @param string $version The version of WordPress that deprecated the hook. 623 * @param string $replacement Optional. The hook that should have been used. Default false.623 * @param string $replacement Optional. The hook that should have been used. Default null. 624 624 * @param string $message Optional. A message regarding the change. Default null. 625 625 */ 626 function apply_filters_deprecated( $tag, $args, $version, $replacement = false, $message = null ) {626 function apply_filters_deprecated( $tag, $args, $version, $replacement = null, $message = null ) { 627 627 if ( ! has_filter( $tag ) ) { 628 628 return $args[0]; … … 648 648 * @param array $args Array of additional function arguments to be passed to do_action(). 649 649 * @param string $version The version of WordPress that deprecated the hook. 650 * @param string $replacement Optional. The hook that should have been used. 651 * @param string $message Optional. A message regarding the change. 652 */ 653 function do_action_deprecated( $tag, $args, $version, $replacement = false, $message = null ) {650 * @param string $replacement Optional. The hook that should have been used. Default null. 651 * @param string $message Optional. A message regarding the change. Default null. 652 */ 653 function do_action_deprecated( $tag, $args, $version, $replacement = null, $message = null ) { 654 654 if ( ! has_action( $tag ) ) { 655 655 return;
Note: See TracChangeset
for help on using the changeset viewer.