diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 44c45a6d7f..e01b0e2fe4 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -674,7 +674,7 @@ function remove_all_actions($tag, $priority = false) { */ function apply_filters_deprecated( $tag, $args, $version, $replacement = false, $message = null ) { if ( ! has_filter( $tag ) ) { - return; + return $args[0]; } _deprecated_hook( $tag, $version, $replacement, $message ); diff --git a/wp-includes/version.php b/wp-includes/version.php index ecfaa457d3..69c1435fd1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37910'; +$wp_version = '4.6-alpha-37911'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.