From bc11236b4c2da070fd3a71cab4231153a170807a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 19 Nov 2016 02:43:49 +0000 Subject: [PATCH] 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 --- src/wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index b585d05c23..1bc2aea58e 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -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 deprecated 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 deprecated since version %2$s with no alternative available.' ), $hook, $version ) . $message ); } }