Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/27/2011 03:11:41 AM (13 years ago)
Author:
boonebgorges
Message:

Introduces bp_blogs_get_subdomain_base(). Fixes subdomain address base on registration screen. Fixes #3684

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/registration/register.php

    r5004 r5380  
    191191
    192192                            <?php if ( is_subdomain_install() ) : ?>
    193                                 http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" /> .<?php echo preg_replace( '|^https?://(?:www\.)|', '', site_url() ) ?>
     193                                http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" /> .<?php bp_blogs_subdomain_base() ?>
    194194                            <?php else : ?>
    195195                                <?php echo site_url() ?>/ <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
Note: See TracChangeset for help on using the changeset viewer.