From 45d555941caeb2314c6cc3e2dd85eae93d96cf40 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 19 Mar 2014 05:27:14 +0000 Subject: [PATCH] Combine two strings, using placeholders for filenames and avoiding HTML. see #27057. Built from https://develop.svn.wordpress.org/trunk@27604 git-svn-id: http://core.svn.wordpress.org/trunk@27447 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/network.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/wp-admin/network.php b/wp-admin/network.php index a3df828688..c7b115f6fa 100644 --- a/wp-admin/network.php +++ b/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.' ) . '

    '; ?>