Changeset 29554
- Timestamp:
- 08/20/2014 05:29:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-activate.php
r28500 r29554 106 106 } 107 107 } else { 108 $url = get_blogaddress_by_id( (int) $result['blog_id'] );108 $url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : ''; 109 109 $user = get_userdata( (int) $result['user_id'] ); 110 110 ?> … … 116 116 </div> 117 117 118 <?php if ( $url != network_home_url('', 'http') ) : ?>118 <?php if ( $url && $url != network_home_url( '', 'http' ) ) : ?> 119 119 <p class="view"><?php printf( __('Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>'), $url, $url . 'wp-login.php' ); ?></p> 120 120 <?php else: ?>
Note: See TracChangeset
for help on using the changeset viewer.