diff --git wp-admin/includes/ms.php wp-admin/includes/ms.php
index 4735cf9..383cd3f 100644
|
|
function upload_space_setting( $id ) { |
433 | 433 | |
434 | 434 | ?> |
435 | 435 | <tr> |
436 | | <th><?php _e( 'Site Upload Space Quota '); ?></th> |
437 | | <td><input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td> |
| 436 | <th><?php _e( 'Site Upload Space Quota '); ?></th> |
| 437 | <td><input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /> <?php _e( 'MB (Leave blank for network default)' ); ?></td> |
438 | 438 | </tr> |
439 | 439 | <?php |
440 | 440 | } |
diff --git wp-admin/network/site-info.php wp-admin/network/site-info.php
index 2fb9fef..bb2872e 100644
|
|
if ( ! empty( $messages ) ) { |
122 | 122 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> |
123 | 123 | <table class="form-table"> |
124 | 124 | <tr class="form-field form-required"> |
125 | | <th scope="row"><?php _e( 'Domain' ) ?></th> |
| 125 | <th scope="row"><></th> |
126 | 126 | <?php if ( $is_main_site ) { ?> |
127 | 127 | <td><code><?php echo $parsed['scheme'] . '://' . esc_attr( $details->domain ) ?></code></td> |
128 | 128 | <?php } else { ?> |
… |
… |
if ( ! empty( $messages ) ) { |
130 | 130 | <?php } ?> |
131 | 131 | </tr> |
132 | 132 | <tr class="form-field form-required"> |
133 | | <th scope="row"><?php _e( 'Path' ) ?></th> |
| 133 | <th scope="row"><></th> |
134 | 134 | <?php if ( $is_main_site ) { ?> |
135 | 135 | <td><code><?php echo esc_attr( $details->path ) ?></code></td> |
136 | 136 | <?php |
… |
… |
if ( ! empty( $messages ) ) { |
138 | 138 | switch_to_blog( $id ); |
139 | 139 | ?> |
140 | 140 | <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style="margin-bottom:5px;" /> |
141 | | <br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_option( 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_option( 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></td> |
| 141 | ></td> |
142 | 142 | <?php |
143 | 143 | restore_current_blog(); |
144 | 144 | } ?> |
diff --git wp-admin/network/site-new.php wp-admin/network/site-new.php
index 1a0e6c4..57277af 100644
|
|
if ( ! empty( $messages ) ) { |
127 | 127 | <?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?> |
128 | 128 | <table class="form-table"> |
129 | 129 | <tr class="form-field form-required"> |
130 | | <th scope="row"><?php _e( 'Site Address' ) ?></th> |
| 130 | <th scope="row"><></th> |
131 | 131 | <td> |
132 | 132 | <?php if ( is_subdomain_install() ) { ?> |
133 | | <input name="blog[domain]" type="text" class="regular-text" title="<?php esc_attr_e( 'Domain' ) ?>"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span> |
| 133 | <input name="blog[domain]" type="text" class="regular-text" title="<?php esc_attr_e( 'Domain' ) ?>"/><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', $current_site->domain ); ?></span> |
134 | 134 | <?php } else { |
135 | | echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/> |
| 135 | echo $current_site->domain . $current_site->path ?><input name="blog[domain]" class="regular-text" type="text" title="<?php esc_attr_e( 'Domain' ) ?>"/> |
136 | 136 | <?php } |
137 | 137 | echo '<p>' . __( 'Only lowercase letters (a-z) and numbers are allowed.' ) . '</p>'; |
138 | 138 | ?> |
139 | 139 | </td> |
140 | 140 | </tr> |
141 | 141 | <tr class="form-field form-required"> |
142 | | <th scope="row"><?php _e( 'Site Title' ) ?></th> |
143 | | <td><input name="blog[title]" type="text" class="regular-text" title="<?php esc_attr_e( 'Title' ) ?>"/></td> |
| 142 | <th scope="row"><></th> |
| 143 | <td><input name="blog[title]" type="text" class="regular-text" title="<?php esc_attr_e( 'Title' ) ?>"/></td> |
144 | 144 | </tr> |
145 | 145 | <tr class="form-field form-required"> |
146 | | <th scope="row"><?php _e( 'Admin Email' ) ?></th> |
147 | | <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td> |
| 146 | <th scope="row"><></th> |
| 147 | <td><input name="blog[email]" type="email" class="regular-text wp-suggest-user" data-autocomplete-type="search" data-autocomplete-field="user_email" title="<?php esc_attr_e( 'Email' ) ?>"/></td> |
148 | 148 | </tr> |
149 | 149 | <tr class="form-field"> |
150 | 150 | <td colspan="2"><?php _e( 'A new user will be created if the above email address is not in the database.' ) ?><br /><?php _e( 'The username and password will be mailed to this email address.' ) ?></td> |
diff --git wp-admin/network/site-settings.php wp-admin/network/site-settings.php
index 1decdcb..d232ea6 100644
|
|
if ( ! empty( $messages ) ) { |
138 | 138 | if ( strpos( $option->option_value, "\n" ) !== false ) { |
139 | 139 | ?> |
140 | 140 | <tr class="form-field"> |
141 | | <th scope="row"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></th> |
| 141 | <th scope="row"><></th> |
142 | 142 | <td><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ) ?>]" id="<?php echo esc_attr( $option->option_name ) ?>"<?php disabled( $disabled ) ?>><?php echo esc_textarea( $option->option_value ) ?></textarea></td> |
143 | 143 | </tr> |
144 | 144 | <?php |
145 | 145 | } else { |
146 | 146 | ?> |
147 | 147 | <tr class="form-field"> |
148 | | <th scope="row"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th> |
| 148 | <th scope="row"><></th> |
149 | 149 | <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?> |
150 | 150 | <td><code><?php echo esc_html( $option->option_value ) ?></code></td> |
151 | 151 | <?php } else { ?> |
diff --git wp-admin/network/site-users.php wp-admin/network/site-users.php
index b5a6ab7..4075f30 100644
|
|
if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_us |
264 | 264 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> |
265 | 265 | <table class="form-table"> |
266 | 266 | <tr> |
267 | | <th scope="row"><?php _e( 'Username' ); ?></th> |
| 267 | <th scope="row"><></th> |
268 | 268 | <td><input type="text" class="regular-text wp-suggest-user" name="newuser" id="newuser" /></td> |
269 | 269 | </tr> |
270 | 270 | <tr> |
… |
… |
if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_use |
293 | 293 | <input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" /> |
294 | 294 | <table class="form-table"> |
295 | 295 | <tr> |
296 | | <th scope="row"><?php _e( 'Username' ) ?></th> |
297 | | <td><input type="text" class="regular-text" name="user[username]" /></td> |
| 296 | <th scope="row"><></th> |
| 297 | <td><input type="text" class="regular-text" name="user[username]" /></td> |
298 | 298 | </tr> |
299 | 299 | <tr> |
300 | | <th scope="row"><?php _e( 'Email' ) ?></th> |
301 | | <td><input type="text" class="regular-text" name="user[email]" /></td> |
| 300 | <th scope="row"><></th> |
| 301 | <td><input type="text" class="regular-text" name="user[email]" /></td> |
302 | 302 | </tr> |
303 | 303 | <tr> |
304 | 304 | <th scope="row"><?php _e( 'Role' ); ?></th> |
diff --git wp-admin/network/user-new.php wp-admin/network/user-new.php
index 5c67140..225a206 100644
|
|
if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) { ?> |
87 | 87 | <form action="<?php echo network_admin_url('user-new.php?action=add-user'); ?>" id="adduser" method="post"> |
88 | 88 | <table class="form-table"> |
89 | 89 | <tr class="form-field form-required"> |
90 | | <th scope="row"><?php _e( 'Username' ) ?></th> |
91 | | <td><input type="text" class="regular-text" name="user[username]" /></td> |
| 90 | <th scope="row"><></th> |
| 91 | <td><input type="text" class="regular-text" name="user[username]" /></td> |
92 | 92 | </tr> |
93 | 93 | <tr class="form-field form-required"> |
94 | | <th scope="row"><?php _e( 'Email' ) ?></th> |
95 | | <td><input type="text" class="regular-text" name="user[email]" /></td> |
| 94 | <th scope="row"><></th> |
| 95 | <td><input type="text" class="regular-text" name="user[email]" /></td> |
96 | 96 | </tr> |
97 | 97 | <tr class="form-field"> |
98 | 98 | <td colspan="2"><?php _e( 'Username and password will be mailed to the above email address.' ) ?></td> |
diff --git wp-includes/version.php wp-includes/version.php
index 963729f..b684c41 100644
|
|
|
4 | 4 | * |
5 | 5 | * @global string $wp_version |
6 | 6 | */ |
7 | | $wp_version = '4.1-beta2-30549'; |
| 7 | $wp_version = '4.1-beta2-3054'; |
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. |