Skip to:
Content

BuddyPress.org

Ticket #4560: bp-subdomain-maxlength-REV1.diff

File bp-subdomain-maxlength-REV1.diff, 1.1 KB (added by humanshell, 8 years ago)
  • bp-blogs/bp-blogs-template.php

     
    461461        <?php }
    462462
    463463        if ( !is_subdomain_install() )
    464                 echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="50" /><br />';
     464                echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /><br />';
    465465        else
    466                 echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="50" /> <span class="suffix_address">.' . bp_blogs_get_subdomain_base() . '</span><br />';
     466                echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /> <span class="suffix_address">.' . bp_blogs_get_subdomain_base() . '</span><br />';
    467467
    468468        if ( !is_user_logged_in() ) {
    469469                print '(<strong>' . __( 'Your address will be ' , 'buddypress');