I18N: Move translatable Codex URLs to separate strings in `wp-includes/ms-load.php`.

Props ramiy.
Fixes #34687.

git-svn-id: https://develop.svn.wordpress.org/trunk@35668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-11-18 17:41:21 +00:00
parent bfe32a4d38
commit 8e439f1bd0
1 changed files with 4 additions and 1 deletions

View File

@ -305,7 +305,10 @@ function ms_not_installed( $domain, $path ) {
) . '</p>';
}
$msg .= '<p><strong>' . __( 'What do I do now?' ) . '</strong> ';
$msg .= __( 'Read the <a target="_blank" href="https://codex.wordpress.org/Debugging_a_WordPress_Network">bug report</a> page. Some of the guidelines there may help you figure out what went wrong.' );
/* translators: %s: Codex URL */
$msg .= sprintf( __( 'Read the <a href="%s" target="_blank">bug report</a> page. Some of the guidelines there may help you figure out what went wrong.' ),
__( 'https://codex.wordpress.org/Debugging_a_WordPress_Network' )
);
$msg .= ' ' . __( 'If you&#8217;re still stuck with this message, then check that your database contains the following tables:' ) . '</p><ul>';
foreach ( $wpdb->tables('global') as $t => $table ) {
if ( 'sitecategories' == $t )