Commit 26e5fdf6a7 for wordpress.org

commit 26e5fdf6a74330b55d006c45bebac799e3163c2b
Author: audrasjb <audrasjb@git.wordpress.org>
Date:   Tue Nov 17 10:11:04 2026 +0000

    Privacy: Revert [65545].

    Tis changeset introduced some unit test issues.
    Reverting as we are close to 7.2 RC1.

    Unprops audrasjb.
    See #65758.


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


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

diff --git a/wp-admin/includes/privacy-tools.php b/wp-admin/includes/privacy-tools.php
index f0a53f2651..17e660c8c0 100644
--- a/wp-admin/includes/privacy-tools.php
+++ b/wp-admin/includes/privacy-tools.php
@@ -587,7 +587,6 @@ function wp_privacy_generate_personal_data_export_file( $request_id ) {
  * Send an email to the user with a link to the personal data export file
  *
  * @since 4.9.6
- * @since 7.2.0 Returns a `WP_Error` if the request is not confirmed or completed.
  *
  * @param int $request_id The request ID for this personal data export.
  * @return true|WP_Error True on success or `WP_Error` on failure.
@@ -600,10 +599,6 @@ function wp_privacy_send_personal_data_export_email( $request_id ) {
 		return new WP_Error( 'invalid_request', __( 'Invalid request ID when sending personal data export email.' ) );
 	}

-	if ( ! in_array( $request->status, array( 'request-confirmed', 'request-completed' ), true ) ) {
-		return new WP_Error( 'invalid_request', __( 'Invalid request status when sending personal data export email.' ) );
-	}
-
 	// Localize message content for user; fallback to site default for visitors.
 	if ( ! empty( $request->user_id ) ) {
 		$switched_locale = switch_to_user_locale( $request->user_id );
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 5adfa66fe1..a7fbabcb13 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-beta5-65546';
+$wp_version = '7.2-beta5-65547';

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