diff --git a/composer.lock b/composer.lock index 9eea37be..999aa5a2 100644 --- a/composer.lock +++ b/composer.lock @@ -4,15 +4,15 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "46c5e334d7519452c6829a9d38f429a7", + "content-hash": "921ca4edf9dd608d1376419ce62ff8ba", "packages": [ { "name": "automattic/jetpack-mu-wpcom", - "version": "4.13.0-alpha.1696224944", + "version": "4.13.0-alpha.1696226389", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-mu-wpcom", - "reference": "dcea782b53e7f3c95a2566ea37fa5a82b5272f38" + "reference": "88468d6961398295e57e3e4126c395e478d17c65" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -78,7 +78,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-changelogger", - "reference": "0fe25c9ef85fe61d7d704e4bbdc994d928b66c43" + "reference": "f0af3247aa571f2c9e42f96d15ded7d8f74c6636" }, "require": { "php": ">=5.6", diff --git a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md index d4b89d47..d69d6ef0 100644 --- a/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md +++ b/vendor/automattic/jetpack-mu-wpcom/CHANGELOG.md @@ -11,6 +11,7 @@ This is an alpha version! The changes listed here are not final. ### Added - Add new task for user to confirm email when purchasing a domain. +- Add plugin to show frontend email nag for domains with unverified email address ## [4.12.0] - 2023-09-28 ### Added diff --git a/vendor/automattic/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php b/vendor/automattic/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php index 7f43484c..9ffcac47 100644 --- a/vendor/automattic/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php +++ b/vendor/automattic/jetpack-mu-wpcom/src/class-jetpack-mu-wpcom.php @@ -40,6 +40,7 @@ public static function init() { add_action( 'plugins_loaded', array( __CLASS__, 'load_marketplace_products_updater' ) ); add_action( 'plugins_loaded', array( __CLASS__, 'load_first_posts_stream_helpers' ) ); + add_action( 'plugins_loaded', array( __CLASS__, 'load_domain_email_nag' ) ); // Unified navigation fix for changes in WordPress 6.2. add_action( 'admin_enqueue_scripts', array( __CLASS__, 'unbind_focusout_on_wp_admin_bar_menu_toggle' ) ); @@ -95,6 +96,12 @@ public static function load_coming_soon() { public static function load_launchpad() { require_once __DIR__ . '/features/launchpad/launchpad.php'; } + /** + * Load the domain email nag feature. + */ + public static function load_domain_email_nag() { + require_once __DIR__ . '/features/domain-email-nag/domain-email-nag.php'; + } /** * Load WP REST API plugins for wpcom. diff --git a/vendor/automattic/jetpack-mu-wpcom/src/features/domain-email-nag/domain-email-nag.php b/vendor/automattic/jetpack-mu-wpcom/src/features/domain-email-nag/domain-email-nag.php new file mode 100644 index 00000000..ea426468 --- /dev/null +++ b/vendor/automattic/jetpack-mu-wpcom/src/features/domain-email-nag/domain-email-nag.php @@ -0,0 +1,84 @@ +%1$s suspended. Please check your inbox.', 'jetpack-mu-wpcom' ), + $domain + ); + + ?> +
+
+

array() ) ); ?>

+ +
+
+ array( 'automattic/jetpack-mu-wpcom' => array( - 'pretty_version' => '4.13.0-alpha.1696224944', - 'version' => '4.13.0.0-alpha1696224944', - 'reference' => 'dcea782b53e7f3c95a2566ea37fa5a82b5272f38', + 'pretty_version' => '4.13.0-alpha.1696226389', + 'version' => '4.13.0.0-alpha1696226389', + 'reference' => '88468d6961398295e57e3e4126c395e478d17c65', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom', 'aliases' => array(),