[wp-trac] [WordPress Trac] #10931: Verify Comment Email Addresses of Registered Users

WordPress Trac noreply at wordpress.org
Tue Jul 8 11:04:45 UTC 2025


#10931: Verify Comment Email Addresses of Registered Users
-------------------------------------------------+-------------------------
 Reporter:  mtdewvirus                           |       Owner:
                                                 |  adamsilverstein
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.9
Component:  Comments                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-docs early has-patch has-      |     Focuses:
  unit-tests needs-testing                       |
-------------------------------------------------+-------------------------

Comment (by rollybueno):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/8443

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Query Monitor 3.18.0
   * Test Reports 1.2.0

 === Actual Results
 1. ✅ Issue resolved with patch.

 === Additional Notes
 - No side effects observed when using an administrator email.
 - Patch correctly blocks guest comments using any registered user email.
 - I tested this using the following method:
 {{{
 git fetch upstream pull/8443/head:pr-8443
 git checkout pr-8443
 npm run env:restart
 }}}
 - I ran the new PHPUnit test unit, making sure it exercised all default
 WordPress roles (see test definition at https://github.com/WordPress
 /wordpress-develop/pull/8443/files#diff-
 3ede251a5cd89846c08805c7f4dcb763df26e1734e7a248974b30438b7a69dbeR215) by
 changing the value manually and re-run on each updates.
 - I get same result of before and after video screencast from
 https://github.com/WordPress/wordpress-develop/pull/8443#issue-2892040401
 === Supplemental Artifacts
 ✅ Re-using administrator email since I was able to reproduce this
 earlier:
 [[Image(https://i.imgur.com/olOPxrU.png)]]
 ✅ Test the test unit. I changed the role with the default WP roles and
 re-run on each update:
 [[Image(https://i.imgur.com/0AG7MVX.png)]]
 ✅ Confirming that I get same result of before and after video screencast
 from https://github.com/WordPress/wordpress-
 develop/pull/8443#issue-2892040401

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/10931#comment:69>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list