Opened 9 years ago
Closed 9 years ago
#33973 closed defect (bug) (fixed)
Network subsite title is limited/cut to 50 characters
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Networks and Sites | Keywords: | has-patch commit |
Focuses: | multisite | Cc: |
Description (last modified by )
In wpmu_validate_blog_signup of ms-functions.php I can find near Line 600
$blog_title = substr( $blog_title, 0, 50 );
Is there a reason for this?
Attachments (1)
Change History (9)
#2
@
9 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 4.4
- Owner set to chriscct7
- Status changed from new to assigned
- Version changed from 4.3.1 to 3.0
#3
@
9 years ago
- Summary changed from The Blog Title is restricted to 50 signs? to Network subsite title is limited/cut to 50 characters
#4
@
9 years ago
- Keywords has-patch commit added; needs-patch removed
- Status changed from assigned to accepted
This ticket was mentioned in Slack in #core by chriscct7. View the logs.
9 years ago
#7
@
9 years ago
Source in MU is https://mu.trac.wordpress.org/changeset/1140. Not much explanation there :/
I don't see a problem making the change. Thanks for the ticket and for the patch.
Note: See
TracTickets for help on using
tickets.
I did a git blame on the line in question and it's one of the original, unaltered lines from the WPMU merge, so it was originally a restriction in WPMU. Currently in WordPress the title of a blog is stored in a column whose size is LONGTEXT, so there doesn't appear to be a need for the restriction at least from a storage standpoint.
Unless someone has a reason for wanting the limit to remain, when a single site install of WordPress can have a title > 50 characters as is, I'll write a patch to remove this for 4.4.