diff --git a/src/wp-content/themes/twentynineteen/style.css b/src/wp-content/themes/twentynineteen/style.css
index 9d68322d74..0e498df162 100644
--- a/src/wp-content/themes/twentynineteen/style.css
+++ b/src/wp-content/themes/twentynineteen/style.css
@@ -6615,3 +6615,6 @@ svg {
 .gallery-item > div > a:focus {
   box-shadow: 0 0 0 2px #0073aa;
 }
+.testing {
+	color: blue;
+}
\ No newline at end of file
diff --git a/src/wp-includes/class-wp-embed.php b/src/wp-includes/class-wp-embed.php
index 677a5944c4..55b8e49e5b 100644
--- a/src/wp-includes/class-wp-embed.php
+++ b/src/wp-includes/class-wp-embed.php
@@ -34,7 +34,7 @@ class WP_Embed {
 		add_filter( 'widget_block_content', array( $this, 'run_shortcode' ), 8 );
 
 		// Shortcode placeholder for strip_shortcodes().
-		add_shortcode( 'embed', '__return_false' );
+		add_shortcode( 'embed', array( $this, 'shortcode' ) );
 
 		// Attempts to embed all URLs in a post.
 		add_filter( 'the_content', array( $this, 'autoembed' ), 8 );
diff --git a/tests/phpunit/tests/oembed/WpEmbed.php b/tests/phpunit/tests/oembed/WpEmbed.php
index 239ea24d56..1be7900e83 100644
--- a/tests/phpunit/tests/oembed/WpEmbed.php
+++ b/tests/phpunit/tests/oembed/WpEmbed.php
@@ -377,4 +377,12 @@ class Tests_WP_Embed extends WP_UnitTestCase {
 		$this->wp_embed->linkifunknown = false;
 		$this->assertSame( $url, $this->wp_embed->maybe_make_link( $url ) );
 	}
+
+	/**
+	 * @ticket 23431
+	 */
+	public function test_embed_shortcode() {
+		$content = '[embed]https://example.org/path/to/video[/embed]';
+		$this->assertNotEmpty( do_shortcode( $content ) );
+	}
 }
