]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/network.php
WordPress 4.6.3
[autoinstalls/wordpress.git] / wp-admin / includes / network.php
index d034f045cc7bb48e600aa71b2281c8f9dd283255..d04b4f9a28f6e9433f908916f0c7e71519eaa24f 100644 (file)
@@ -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 '<div class="updated inline"><p><strong>' . __( 'Note:' ) . '</strong> ';
                        /* 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 <a href="%2$s">Apache documentation</a> or <a href="%3$s">elsewhere</a> for help setting it up.' ),
                                '<code>mod_rewrite</code>',
-                               '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 '</p></div>';
                }
@@ -405,10 +405,16 @@ function network_step2( $errors = false ) {
 ?>
                <ol>
                        <li><p><?php printf(
-                               /* translators: 1: wp-config.php 2: location of wp-config file */
-                               __( 'Add the following to your %1$s file in %2$s <strong>above</strong> the line reading <code>/* That&#8217;s all, stop editing! Happy blogging. */</code>:' ),
+                               /* 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 <strong>above</strong> the line reading %3$s:' ),
                                '<code>wp-config.php</code>',
-                               '<code>' . $location_of_wp_config . '</code>'
+                               '<code>' . $location_of_wp_config . '</code>',
+                               /*
+                                * 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/<locale code>/branches/<wp version>/dist/wp-config-sample.php
+                                */
+                               '<code>/* ' . __( 'That&#8217;s all, stop editing! Happy blogging.' ) . ' */</code>'
                        ); ?></p>
                                <textarea class="code" readonly="readonly" cols="100" rows="7">
 define('MULTISITE', true);
@@ -578,4 +584,4 @@ EOF;
                <p><?php _e( 'Once you complete these steps, your network is enabled and configured. You will have to log in again.' ); ?> <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log In' ); ?></a></p>
 <?php
        }
-}
\ No newline at end of file
+}