Index: wp-content/themes/twentyeleven/functions.php
===================================================================
--- wp-content/themes/twentyeleven/functions.php	(revision 44878)
+++ wp-content/themes/twentyeleven/functions.php	(working copy)
@@ -881,3 +881,21 @@
 	return $args;
 }
 add_filter( 'widget_tag_cloud_args', 'twentyeleven_widget_tag_cloud_args' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Eleven 3.3
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Eleven 3.3
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentyfifteen/inc/back-compat.php
===================================================================
--- wp-content/themes/twentyfifteen/inc/back-compat.php	(revision 44878)
+++ wp-content/themes/twentyfifteen/inc/back-compat.php	(working copy)
@@ -65,3 +65,21 @@
 	}
 }
 add_action( 'template_redirect', 'twentyfifteen_preview' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Fifteen 2.5
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Fifteen 2.5
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentyfourteen/inc/back-compat.php
===================================================================
--- wp-content/themes/twentyfourteen/inc/back-compat.php	(revision 44878)
+++ wp-content/themes/twentyfourteen/inc/back-compat.php	(working copy)
@@ -65,3 +65,21 @@
 	}
 }
 add_action( 'template_redirect', 'twentyfourteen_preview' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Fourteen 2.7
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Fourteen 2.7
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentynineteen/inc/back-compat.php
===================================================================
--- wp-content/themes/twentynineteen/inc/back-compat.php	(revision 44878)
+++ wp-content/themes/twentynineteen/inc/back-compat.php	(working copy)
@@ -74,3 +74,21 @@
 	}
 }
 add_action( 'template_redirect', 'twentynineteen_preview' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Nineteen 1.4
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Nineteen 1.4
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentyseventeen/inc/back-compat.php
===================================================================
--- wp-content/themes/twentyseventeen/inc/back-compat.php	(revision 44878)
+++ wp-content/themes/twentyseventeen/inc/back-compat.php	(working copy)
@@ -71,3 +71,21 @@
 	}
 }
 add_action( 'template_redirect', 'twentyseventeen_preview' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Seventeen 2.2
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Seventeen 2.2
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentysixteen/inc/back-compat.php
===================================================================
--- wp-content/themes/twentysixteen/inc/back-compat.php	(revision 44878)
+++ wp-content/themes/twentysixteen/inc/back-compat.php	(working copy)
@@ -73,3 +73,21 @@
 	}
 }
 add_action( 'template_redirect', 'twentysixteen_preview' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Sixteen 2.0
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Sixteen 2.0
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentyten/functions.php
===================================================================
--- wp-content/themes/twentyten/functions.php	(revision 44878)
+++ wp-content/themes/twentyten/functions.php	(working copy)
@@ -716,4 +716,20 @@
 }
 add_action( 'enqueue_block_editor_assets', 'twentyten_block_editor_styles' );
 
-
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Ten 2.9
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Ten 2.9
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentythirteen/inc/back-compat.php
===================================================================
--- wp-content/themes/twentythirteen/inc/back-compat.php	(revision 44878)
+++ wp-content/themes/twentythirteen/inc/back-compat.php	(working copy)
@@ -65,3 +65,21 @@
 	}
 }
 add_action( 'template_redirect', 'twentythirteen_preview' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Thirteen 2.8
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Thirteen 2.8
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
Index: wp-content/themes/twentytwelve/functions.php
===================================================================
--- wp-content/themes/twentytwelve/functions.php	(revision 44878)
+++ wp-content/themes/twentytwelve/functions.php	(working copy)
@@ -665,7 +665,6 @@
 }
 add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' );
 
-
 /**
  * Modifies tag cloud widget arguments to display all tags in the same font size
  * and use list format for better accessibility.
@@ -684,3 +683,21 @@
 	return $args;
 }
 add_filter( 'widget_tag_cloud_args', 'twentytwelve_widget_tag_cloud_args' );
+
+if ( ! function_exists( 'wp_body_open' ) ) {
+	/**
+	 * Fire the wp_body_open action.
+	 *
+	 * Added for backwards compatibility to support WordPress versions prior to 5.2.0.
+	 *
+	 * @since Twenty Twelve 3.0
+	 */
+	function wp_body_open() {
+		/**
+		 * Triggered after the opening <body> tag.
+		 *
+		 * @since Twenty Twelve 3.0
+		 */
+		do_action( 'wp_body_open' );
+	}
+}
