[wp-trac] [WordPress Trac] #16576: comment_form() fields being displayed only for non logged in users

WordPress Trac noreply at wordpress.org
Fri Jul 25 14:30:28 UTC 2025


#16576: comment_form() fields being displayed only for non logged in users
-------------------------------------------------+-------------------------
 Reporter:  maorb                                |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:
Component:  Comments                             |     Version:  3.0.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:
  refresh bulk-reopened                          |
-------------------------------------------------+-------------------------

Comment (by abcd95):

 == Reproduction Report
 === Description
 This report validates that the issue can still be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.25
 - Server: nginx/1.27.2
 - Database: mysqli (Server: 8.4.4 / Client: mysqlnd 8.2.25)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.3

 === Actual Results
 ✅ Error condition occurs (reproduced).

 === Additional Notes
 - I am working on refreshing the patch according to the current trunk.

 === Supplemental Artifacts

 I added a new field, `Location`, which was not visible to the logged-in
 user, but the logged-out user was able to see all the fields -

 Logged-in user -
 https://i.ibb.co/wFDHP36k/Screenshot-2025-07-25-at-19-50-47.png

 Logged-out user -
 https://i.ibb.co/PGvzp3vw/Screenshot-2025-07-25-at-19-51-33.png

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


More information about the wp-trac mailing list