mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Database: Increase the size of wp_posts.post_password to 255 characters.
Longer passwords and passphrases are much more common than when post passwords were introduced all those eons ago, so let's increase the length of the `post_password` field from 20 to 255 characters. The password will continue to be stored in plaintext, as the ability for the post author to view the password is a commonly used feature. Trivia: this was the last 3 digit Trac ticket to be closed. Props skippy, nazgul, iandunn, adamsilverstein, pento. Fixes #881. git-svn-id: https://develop.svn.wordpress.org/trunk@38590 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -165,7 +165,7 @@ CREATE TABLE $wpdb->posts (
|
||||
post_status varchar(20) NOT NULL default 'publish',
|
||||
comment_status varchar(20) NOT NULL default 'open',
|
||||
ping_status varchar(20) NOT NULL default 'open',
|
||||
post_password varchar(20) NOT NULL default '',
|
||||
post_password varchar(255) NOT NULL default '',
|
||||
post_name varchar(200) NOT NULL default '',
|
||||
to_ping text NOT NULL,
|
||||
pinged text NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user