I18N: Use 'WordPress hook name' instead of 'PHP hook name' in translator comments added in [39315].
See #38862. git-svn-id: https://develop.svn.wordpress.org/trunk@39316 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b706194ec3
commit
bc11236b4c
@ -4030,10 +4030,10 @@ function _deprecated_hook( $hook, $version, $replacement = null, $message = null
|
||||
if ( WP_DEBUG && apply_filters( 'deprecated_hook_trigger_error', true ) ) {
|
||||
$message = empty( $message ) ? '' : ' ' . $message;
|
||||
if ( ! is_null( $replacement ) ) {
|
||||
/* translators: 1: PHP hook name, 2: version number, 3: alternative hook name */
|
||||
/* translators: 1: WordPress hook name, 2: version number, 3: alternative hook name */
|
||||
trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ), $hook, $version, $replacement ) . $message );
|
||||
} else {
|
||||
/* translators: 1: PHP hook name, 2: version number */
|
||||
/* translators: 1: WordPress hook name, 2: version number */
|
||||
trigger_error( sprintf( __( '%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.' ), $hook, $version ) . $message );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user