From 0cafc9abe7caee015e27d2f4f4a2e589ba8e0743 Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Wed, 24 Feb 2016 16:25:25 +0000 Subject: [PATCH] Forms: Swap "Submit" button label for "Enter" on password-protected pages. Props karmatosed, SergeyBiryukov See #35042. Built from https://develop.svn.wordpress.org/trunk@36685 git-svn-id: http://core.svn.wordpress.org/trunk@36652 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 5ceed59165..c162ca1c6d 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1532,7 +1532,7 @@ function get_the_password_form( $post = 0 ) { $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); $output = '

' . __( 'This content is password protected. To view it please enter your password below:' ) . '

-

+

'; /** diff --git a/wp-includes/version.php b/wp-includes/version.php index b850039901..7820cd6fa3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36684'; +$wp_version = '4.5-alpha-36685'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.