mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 21:24:35 +00:00
General: First pass at replacing Codex URLs with a corresponding HelpHub or DevHub article.
Props ianbelanger, tobifjellner, SergeyBiryukov. See #47771. git-svn-id: https://develop.svn.wordpress.org/trunk@45674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4792,7 +4792,7 @@ function _doing_it_wrong( $function, $message, $version ) {
|
||||
/* translators: %s: Codex URL */
|
||||
$message .= ' ' . sprintf(
|
||||
__( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
|
||||
__( 'https://codex.wordpress.org/Debugging_in_WordPress' )
|
||||
__( 'https://wordpress.org/support/article/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 ) );
|
||||
@@ -4804,7 +4804,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'
|
||||
'https://wordpress.org/support/article/debugging-in-wordpress/'
|
||||
);
|
||||
trigger_error( sprintf( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user