Ticket #881: 881.4.diff
File 881.4.diff, 2.0 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/meta-boxes.php
138 138 <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> 139 139 <?php endif; ?> 140 140 <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> 142 142 <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 /> 143 143 144 144 <p> -
src/wp-admin/includes/schema.php
148 148 post_status varchar(20) NOT NULL default 'publish', 149 149 comment_status varchar(20) NOT NULL default 'open', 150 150 ping_status varchar(20) NOT NULL default 'open', 151 post_password varchar( 20) NOT NULL default '',151 post_password varchar(64) NOT NULL default '', 152 152 post_name varchar(200) NOT NULL default '', 153 153 to_ping text NOT NULL, 154 154 pinged text NOT NULL,