Ticket #44406: 44406.diff
File 44406.diff, 700 bytes (added by , 6 years ago) |
---|
-
src/wp-includes/functions.php
4371 4371 */ 4372 4372 if ( WP_DEBUG && apply_filters( 'deprecated_hook_trigger_error', true ) ) { 4373 4373 $message = empty( $message ) ? '' : ' ' . $message; 4374 if ( ! is_null( $replacement ) ) {4374 if ( ! empty( $replacement ) ) { 4375 4375 /* translators: 1: WordPress hook name, 2: version number, 3: alternative hook name */ 4376 4376 trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $hook, $version, $replacement ) . $message ); 4377 4377 } else {