Skip to:
Content

BuddyPress.org

Changeset 3481


Ignore:
Timestamp:
11/24/2010 12:02:35 AM (15 years ago)
Author:
boonebgorges
Message:

Makes new blog registration message https aware. Fixes #2634, props mareck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-templatetags.php

    r3479 r3481  
    465465
    466466function bp_blogs_confirm_blog_signup( $domain, $path, $blog_title, $user_name, $user_email = '', $meta = '' ) {
     467    $protocol = is_ssl() ? 'https://' : 'http://';
     468    $blog_url = $protocol . $domain . $path;
    467469    ?>
    468470    <p><?php _e('Congratulations! You have successfully registered a new blog.', 'buddypress') ?></p>
    469471    <p>
    470         <?php printf(__('<a href="http://%1$s">http://%2$s</a> is your new blog.  <a href="%3$s">Login</a> as "%4$s" using your existing password.', 'buddypress'), $domain.$path, $domain.$path, "http://" . $domain.$path . "wp-login.php", $user_name) ?>
     472        <?php printf(__('<a href="%1$s">%2$s</a> is your new blog.  <a href="%3$s">Login</a> as "%4$s" using your existing password.', 'buddypress'), $blog_url, $blog_url, $blog_url . "wp-login.php", $user_name) ?>
    471473    </p>
    472474    <?php
Note: See TracChangeset for help on using the changeset viewer.