WordPress.org

Make WordPress Core

Ticket #15369: 0003-Changed-password-input-field-from-text-to-to-passwor.patch

File 0003-Changed-password-input-field-from-text-to-to-passwor.patch, 1.8 KB (added by nh2, 4 years ago)
  • wp-admin/includes/meta-boxes.php

    From a8d4b993049f6a128bd449c30688f17713385bf2 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= <nh2@deditus.de>
    Date: Wed, 10 Nov 2010 04:10:47 +0000
    Subject: [PATCH 3/3] Changed password input field from text to to password in metaboxes include
    
    ---
     wp-admin/includes/meta-boxes.php |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php
    index 9194bf7..1ee109e 100644
    a b echo esc_html( $visibility_trans ); ?></span> 
    142142<span id="sticky-span"><input id="sticky" name="sticky" type="checkbox" value="sticky" <?php checked(is_sticky($post->ID)); ?> tabindex="4" /> <label for="sticky" class="selectit"><?php _e('Stick this to the front page') ?></label><br /></span> 
    143143<?php endif; ?> 
    144144<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 /> 
    145 <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); ?>" /><br /></span> 
     145<span id="password-span"><label for="post_password"><?php _e('Password:'); ?></label> <input type="password" name="post_password" id="post_password" value="<?php echo esc_attr($post->post_password); ?>" /><br /></span> 
    146146<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 /> 
    147147 
    148148<p>