Changeset 19323
- Timestamp:
- 11/17/2011 06:52:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/my-sites.php
r19121 r19323 19 19 20 20 $blogs = get_blogs_of_user( $current_user->ID ); 21 22 if ( empty( $blogs ) )23 wp_die( __( 'You must be a member of at least one site to use this page.' ) );24 21 25 22 $updated = false; … … 59 56 <?php screen_icon(); ?> 60 57 <h2><?php echo esc_html( $title ); ?></h2> 58 <?php 59 if ( empty( $blogs ) ) : 60 echo '<p>'; 61 _e( 'You must be a member of at least one site to use this page.' ); 62 echo '</p>'; 63 else : 64 ?> 61 65 <form id="myblogs" action="" method="post"> 62 66 <?php … … 108 112 <?php submit_button(); ?> 109 113 </form> 114 <?php endif; ?> 110 115 </div> 111 116 <?php
Note: See TracChangeset
for help on using the changeset viewer.