Changeset 21414 for trunk/wp-admin/network/site-info.php
- Timestamp:
- 08/03/2012 05:51:42 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/network/site-info.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network/site-info.php
r20713 r21414 136 136 <?php if ( $is_main_site ) { ?> 137 137 <td><code><?php echo esc_attr( $details->path ) ?></code></td> 138 <?php } else { ?> 138 <?php 139 } else { 140 switch_to_blog( $id ); 141 ?> 139 142 <td><input name="blog[path]" type="text" id="path" value="<?php echo esc_attr( $details->path ) ?>" size="40" style='margin-bottom:5px;' /> 140 <br /><input type="checkbox" style="width:20px;" name="update_home_url" value="update" <?php if ( get_blog_option( $id, 'siteurl' ) == untrailingslashit( get_blogaddress_by_id ($id ) ) || get_blog_option( $id, 'home' ) == untrailingslashit( get_blogaddress_by_id( $id ) ) ) echo 'checked="checked"'; ?> /> <?php _e( 'Update <code>siteurl</code> and <code>home</code> as well.' ); ?></td> 141 <?php } ?> 143 <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> 144 <?php 145 restore_current_blog(); 146 } ?> 142 147 </tr> 143 148 <tr class="form-field">
Note: See TracChangeset
for help on using the changeset viewer.