Changes from trunk/wp-admin/ms-sites.php at r15135 to branches/3.0/wp-admin/ms-sites.php at r15386
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-admin/ms-sites.php
r15135 r15386 108 108 $options = $wpdb->get_results( "SELECT * FROM {$blog_prefix}options WHERE option_name NOT LIKE '\_%' AND option_name NOT LIKE '%user_roles'" ); 109 109 $details = get_blog_details( $id ); 110 if ( $details->site_id != $wpdb->siteid ) 111 wp_die( __( 'You do not have permission to access this page.' ) ); 112 110 113 $editblog_roles = get_blog_option( $id, "{$blog_prefix}user_roles" ); 111 114 $is_main_site = is_main_site( $id ); … … 198 201 <tr class="form-field"> 199 202 <th scope="row"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></th> 200 <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 wp_htmledit_pre( $option->option_value ) ?></textarea></td>203 <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 wp_htmledit_pre( $option->option_value ) ?></textarea></td> 201 204 </tr> 202 205 <?php
Note: See TracChangeset
for help on using the changeset viewer.