diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 55bce3d16e..2342089302 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -2922,12 +2922,6 @@ final class WP_Customize_Manager { $this->store_changeset_revision = $allow_revision; add_filter( 'wp_save_post_revision_post_has_changed', array( $this, '_filter_revision_post_has_changed' ), 5, 3 ); - /* - * Update the changeset post. The publish_customize_changeset action - * will cause the settings in the changeset to be saved via - * WP_Customize_Setting::save(). - */ - /* * Update the changeset post. The publish_customize_changeset action will cause the settings in the * changeset to be saved via WP_Customize_Setting::save(). Updating a post with publish status will diff --git a/tests/phpunit/tests/customize/manager.php b/tests/phpunit/tests/customize/manager.php index 18c9423a96..00dcd333c6 100644 --- a/tests/phpunit/tests/customize/manager.php +++ b/tests/phpunit/tests/customize/manager.php @@ -1377,7 +1377,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase { /** * Sanitize content with Kses if the current user is not the main admin. * - * @since 5.2.? + * @since 5.4.1 * * @param string $content Content to sanitize. * @return string Sanitized content. @@ -1392,7 +1392,7 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase { /** * Filter map_meta_cap to disallow unfiltered_html. * - * @since 5.2.? + * @since 5.4.1 * * @param array $caps User's capabilities. * @param string $cap Requested cap.