Make WordPress Core

Ticket #881: 881.4.diff

File 881.4.diff, 2.0 KB (added by iandunn, 11 years ago)
  • src/wp-admin/includes/meta-boxes.php

     
    138138<span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked( is_sticky( $post->ID ) ); ?> /> <label for="sticky" class="selectit"><?php _e( 'Stick this post to the front page' ); ?></label><br /></span>
    139139<?php endif; ?>
    140140<input type="radio" name="visibility" id="visibility-radio-password" value="password" <?php checked( $visibility, 'password' ); ?> /> <label for="visibility-radio-password" class="selectit"><?php _e('Password protected'); ?></label><br />
    141 <span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo esc_attr($post->post_password); ?>"  maxlength="20" /><br /></span>
     141<span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="text" name="post_password" id="post_password" value="<?php echo esc_attr($post->post_password); ?>"  maxlength="64" /><br /></span>
    142142<input type="radio" name="visibility" id="visibility-radio-private" value="private" <?php checked( $visibility, 'private' ); ?> /> <label for="visibility-radio-private" class="selectit"><?php _e('Private'); ?></label><br />
    143143
    144144<p>
  • src/wp-admin/includes/schema.php

     
    148148  post_status varchar(20) NOT NULL default 'publish',
    149149  comment_status varchar(20) NOT NULL default 'open',
    150150  ping_status varchar(20) NOT NULL default 'open',
    151   post_password varchar(20) NOT NULL default '',
     151  post_password varchar(64) NOT NULL default '',
    152152  post_name varchar(200) NOT NULL default '',
    153153  to_ping text NOT NULL,
    154154  pinged text NOT NULL,