mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment.
Adds context to one string used in two different contexts for the new user and new site signup email notification. More to come. See #38882 git-svn-id: https://develop.svn.wordpress.org/trunk@39323 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4087,6 +4087,7 @@ function _doing_it_wrong( $function, $message, $version ) {
|
||||
$message .= ' ' . sprintf( __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
|
||||
__( 'https://codex.wordpress.org/Debugging_in_WordPress' )
|
||||
);
|
||||
/* translators: Developer debugging message. 1: PHP function name, 2: Explanatory message, 3: Version information message */
|
||||
trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) );
|
||||
} else {
|
||||
if ( is_null( $version ) ) {
|
||||
|
||||
Reference in New Issue
Block a user