I18N: Use 'WordPress hook name' instead of 'PHP hook name' in translator comments added in [39315].
See #38862. Built from https://develop.svn.wordpress.org/trunk@39316 git-svn-id: http://core.svn.wordpress.org/trunk@39256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
725a04d815
commit
1c110b8474
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.7-beta4-39315';
|
||||
$wp_version = '4.7-beta4-39316';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue