Bug #1989 » bp-subdomain-maxlength-REV1.diff
bp-blogs/bp-blogs-template.php (working copy) | ||
---|---|---|
461 | 461 |
<?php } |
462 | 462 | |
463 | 463 |
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 />';
|
|
465 | 465 |
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 />';
|
|
467 | 467 | |
468 | 468 |
if ( !is_user_logged_in() ) { |
469 | 469 |
print '(<strong>' . __( 'Your address will be ' , 'buddypress'); |