Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into latest
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickebates committed Sep 10, 2014
2 parents ddbef2c + 4dbf89d commit f3e5716
Show file tree
Hide file tree
Showing 497 changed files with 29,573 additions and 13,325 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Project Nami
===============

###Version: `0.9.17`###
###Version: `0.9.18`###

###Description:###

Expand Down
19 changes: 4 additions & 15 deletions license.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Project Nami - Web publishing software for the Windows Azure platform
WordPress - Web publishing software

Copyright 2014 by the contributors

Expand Down Expand Up @@ -30,22 +30,11 @@ permission notices:
and

WordPress - Web publishing software
http://wordpress.org

Copyright 2003-2014 by the contributors
Copyright 2003-2010 by the contributors

WordPress is released under the GPL

and

Project Nami - Web publishing software for the Windows Azure platform
http://projectnami.org

Copyright 2013-2014 by the contributors

Project Nami is released under the GPL


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

GNU GENERAL PUBLIC LICENSE
Expand Down Expand Up @@ -391,6 +380,6 @@ Public License instead of this License.
WRITTEN OFFER

The source code for any program binaries or compressed scripts that are
included with Project Nami can be freely obtained at the following URL:
included with WordPress can be freely obtained at the following URL:

https://github.com/ProjectNami/projectnami
https://wordpress.org/download/source/
13 changes: 6 additions & 7 deletions wp-activate.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function wpmu_activate_stylesheet() {
<?php } else {

$key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key'];
$result = wpmu_activate_signup($key);
$result = wpmu_activate_signup( $key );
if ( is_wp_error($result) ) {
if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
$signup = $result->get_error_data();
Expand All @@ -105,18 +105,17 @@ function wpmu_activate_stylesheet() {
echo '<p>'.$result->get_error_message().'</p>';
}
} else {
extract($result);
$url = get_blogaddress_by_id( (int) $blog_id);
$user = get_userdata( (int) $user_id);
$url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : '';
$user = get_userdata( (int) $result['user_id'] );
?>
<h2><?php _e('Your account is now active!'); ?></h2>

<div id="signup-welcome">
<p><span class="h3"><?php _e('Username:'); ?></span> <?php echo $user->user_login ?></p>
<p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $password; ?></p>
<p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $result['password']; ?></p>
</div>

<?php if ( $url != network_home_url('', 'http') ) : ?>
<?php if ( $url && $url != network_home_url( '', 'http' ) ) : ?>
<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>
<?php else: ?>
<p class="view"><?php printf( __('Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.' ), network_site_url('wp-login.php', 'login'), network_home_url() ); ?></p>
Expand All @@ -129,4 +128,4 @@ function wpmu_activate_stylesheet() {
var key_input = document.getElementById('key');
key_input && key_input.focus();
</script>
<?php get_footer(); ?>
<?php get_footer();
Loading

0 comments on commit f3e5716

Please sign in to comment.