Make WordPress Core

Ticket #10441: 10441.3.diff

File 10441.3.diff, 453 bytes (added by flixos90, 8 years ago)
  • src/wp-includes/plugin.php

     
    674674 */
    675675function apply_filters_deprecated( $tag, $args, $version, $replacement = false, $message = null ) {
    676676        if ( ! has_filter( $tag ) ) {
    677                 return;
     677                return $args[0];
    678678        }
    679679
    680680        _deprecated_hook( $tag, $version, $replacement, $message );