Commit bae8fe8d06 for wordpress.org

commit bae8fe8d063b7b2eb149e65415ce4cd1e8cd00a9
Author: audrasjb <audrasjb@git.wordpress.org>
Date:   Mon Nov 9 23:41:49 2026 +0000

    Twenty Nineteen: Replace whitespace character for heading decoration.

    When a user inserts an empty heading block in the editor and applies an "Underline" or "Strikethrough" text decoration, the browser attempts to underline the pseudo-element's whitespace character. This interaction causes a stray, visible hyphen-like artifact to render inside the editor above the empty block.

    This changeset updates the CSS content property to use the empty string `content: "";` instead of `content: \020`. By removing the whitespace character, the pseudo-element no longer contains an actual text node.

    Developed in https://github.com/WordPress/wordpress-develop/pull/12121.

    Props karunyachavan84, sabernhardt, karmatosed, tusharaddweb, 369work.
    Fixes #65433.


    Built from https://develop.svn.wordpress.org/trunk@65362


    git-svn-id: http://core.svn.wordpress.org/trunk@64501 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss b/wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss
index e493f061fd..ce16eafdf7 100644
--- a/wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss
+++ b/wp-content/themes/twentynineteen/sass/mixins/_mixins-master.scss
@@ -70,7 +70,7 @@

 	&:before {
 		background: $color__text-light;
-		content: "\020";
+		content: "";
 		display: block;
 		height: 2px;
 		margin: $size__spacing-unit 0;
diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css
index 946a06f0a9..da0ac97e7a 100644
--- a/wp-content/themes/twentynineteen/style-editor.css
+++ b/wp-content/themes/twentynineteen/style-editor.css
@@ -598,7 +598,7 @@ h2 {
 h1:before,
 h2:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -713,7 +713,7 @@ figcaption,
 }
 .editor-post-title__block:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css
index f93bb903ed..31e129b5dd 100644
--- a/wp-content/themes/twentynineteen/style-rtl.css
+++ b/wp-content/themes/twentynineteen/style-rtl.css
@@ -2416,7 +2416,7 @@ h6 {
 h1:not(.site-title):before,
 h2:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -3906,7 +3906,7 @@ body.page .main-navigation {
   position: absolute;
   top: 0;
   right: 0;
-  content: " ";
+  content: "";
   width: 100%;
   height: 100%;
 }
@@ -4027,7 +4027,7 @@ body.page .main-navigation {
 }
 .entry .entry-title:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -4147,7 +4147,7 @@ body.page .main-navigation {
   height: 100%;
   top: 0;
   right: 0;
-  content: " ";
+  content: "";
   pointer-events: none;
 }
 .image-filters-enabled .entry .post-thumbnail:before {
@@ -4271,7 +4271,7 @@ body.page .main-navigation {
 }
 .author-bio .author-title:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -4357,7 +4357,7 @@ body.page .main-navigation {
 }
 .comments-area .comments-title-wrap .comments-title:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css
index fb589d027e..ff4383d9e4 100644
--- a/wp-content/themes/twentynineteen/style.css
+++ b/wp-content/themes/twentynineteen/style.css
@@ -2416,7 +2416,7 @@ h6 {
 h1:not(.site-title):before,
 h2:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -3912,7 +3912,7 @@ body.page .main-navigation {
   position: absolute;
   top: 0;
   left: 0;
-  content: " ";
+  content: "";
   width: 100%;
   height: 100%;
 }
@@ -4033,7 +4033,7 @@ body.page .main-navigation {
 }
 .entry .entry-title:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -4153,7 +4153,7 @@ body.page .main-navigation {
   height: 100%;
   top: 0;
   left: 0;
-  content: " ";
+  content: "";
   pointer-events: none;
 }
 .image-filters-enabled .entry .post-thumbnail:before {
@@ -4277,7 +4277,7 @@ body.page .main-navigation {
 }
 .author-bio .author-title:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
@@ -4363,7 +4363,7 @@ body.page .main-navigation {
 }
 .comments-area .comments-title-wrap .comments-title:before {
   background: #767676;
-  content: " ";
+  content: "";
   display: block;
   height: 2px;
   margin: 1rem 0;
diff --git a/wp-includes/version.php b/wp-includes/version.php
index ed1492cee2..8f0ca5a142 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-beta4-65361';
+$wp_version = '7.2-beta4-65362';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.