From a97156c76df3eac976a90d5d2d49d8f0b35534ea Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 19 Jan 2023 09:12:12 +0000 Subject: [PATCH] Twenty Twenty-One: Disable spellcheck for post password field. This changeset adds `spellcheck="false"` attribute to various password fields. Follow-up to [55094]. Props dziudek, audrasjb, gainesm, fosuahmed. See #56763. Built from https://develop.svn.wordpress.org/trunk@55095 git-svn-id: http://core.svn.wordpress.org/trunk@54628 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyone/inc/template-functions.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwentyone/inc/template-functions.php b/wp-content/themes/twentytwentyone/inc/template-functions.php index 6ae2f0bd18..d0d385d3ba 100644 --- a/wp-content/themes/twentytwentyone/inc/template-functions.php +++ b/wp-content/themes/twentytwentyone/inc/template-functions.php @@ -421,7 +421,7 @@ function twenty_twenty_one_password_form( $output, $post = 0 ) { $label = 'pwbox-' . ( empty( $post->ID ) ? wp_rand() : $post->ID ); $output = '

' . esc_html__( 'This content is password protected. Please enter a password to view.', 'twentytwentyone' ) . '

-
+ '; return $output; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3e66639b76..7c259ceccf 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55094'; +$wp_version = '6.2-alpha-55095'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.