X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-admin/includes/network.php diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php index d034f045..d04b4f9a 100644 --- a/wp-admin/includes/network.php +++ b/wp-admin/includes/network.php @@ -52,7 +52,7 @@ function allow_subdomain_install() { function allow_subdirectory_install() { global $wpdb; /** - * Filter whether to enable the subdirectory install feature in Multisite. + * Filters whether to enable the subdirectory install feature in Multisite. * * @since 3.0.0 * @@ -159,7 +159,7 @@ function network_step1( $errors = false ) { $subdomain_install = true; } else { $subdomain_install = false; - if ( $got_mod_rewrite = got_mod_rewrite() ) { // dangerous assumptions + if ( $got_mod_rewrite = got_mod_rewrite() ) { // dangerous assumptions echo '

' . __( 'Note:' ) . ' '; /* translators: %s: mod_rewrite */ printf( __( 'Please make sure the Apache %s module is installed as it will be used at the end of this installation.' ), @@ -180,8 +180,8 @@ function network_step1( $errors = false ) { /* translators: 1: mod_rewrite, 2: mod_rewrite documentation URL, 3: Google search for mod_rewrite */ printf( __( 'If %1$s is disabled, ask your administrator to enable that module, or look at the Apache documentation or elsewhere for help setting it up.' ), 'mod_rewrite', - 'http://httpd.apache.org/docs/mod/mod_rewrite.html', - 'http://www.google.com/search?q=apache+mod_rewrite' + 'https://httpd.apache.org/docs/mod/mod_rewrite.html', + 'https://www.google.com/search?q=apache+mod_rewrite' ); echo '

'; } @@ -405,10 +405,16 @@ function network_step2( $errors = false ) { ?>
  1. above the line reading /* That’s all, stop editing! Happy blogging. */:' ), + /* translators: 1: wp-config.php 2: location of wp-config file, 3: translated version of "That's all, stop editing! Happy blogging." */ + __( 'Add the following to your %1$s file in %2$s above the line reading %3$s:' ), 'wp-config.php', - '' . $location_of_wp_config . '' + '' . $location_of_wp_config . '', + /* + * translators: This string should only be translated if wp-config-sample.php is localized. + * You can check the localized release package or + * https://i18n.svn.wordpress.org//branches//dist/wp-config-sample.php + */ + '/* ' . __( 'That’s all, stop editing! Happy blogging.' ) . ' */' ); ?>