From a34bff39020daa115f11daf030863752109840db Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 19 Mar 2014 05:26:24 +0000 Subject: [PATCH] Combine two strings, using placeholders for filenames and avoiding HTML. see #27057. git-svn-id: https://develop.svn.wordpress.org/trunk@27604 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/network.php b/src/wp-admin/network.php index a3df828688..c7b115f6fa 100644 --- a/src/wp-admin/network.php +++ b/src/wp-admin/network.php @@ -469,9 +469,11 @@ define('BLOG_ID_CURRENT_SITE', 1); '; - ?> -
  • web.config file in %s, replacing other WordPress rules:' ), $home_path ); ?>

    -

    '; + /* translators: 1: a filename like .htaccess. 2: a file path. */ + printf( __( 'Add the following to your %1$s file in %2$s, replacing other WordPress rules:' ), + 'web.config', '' . $home_path . '' ); + echo '

    '; if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) echo '

    ' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '

    '; ?> @@ -503,9 +505,11 @@ RewriteRule ^{$subdir_match}(.*\.php)$ {$rewrite_base}$subdir_replacement_12 [L] RewriteRule . index.php [L] EOF; - ?> -
  • .htaccess file in %s, replacing other WordPress rules:' ), $home_path ); ?>

    -

    '; + /* translators: 1: a filename like .htaccess. 2: a file path. */ + printf( __( 'Add the following to your %1$s file in %2$s, replacing other WordPress rules:' ), + '.htaccess', '' . $home_path . '' ); + echo '

    '; if ( ! $subdomain_install && WP_CONTENT_DIR != ABSPATH . 'wp-content' ) echo '

    ' . __('Warning:') . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '

    '; ?>