[wp-trac] [WordPress Trac] #36901: Removing wp_die() from wp_allow_comment()

WordPress Trac noreply at wordpress.org
Tue Aug 5 12:37:26 UTC 2025


#36901: Removing wp_die() from wp_allow_comment()
-------------------------------------------------+-------------------------
 Reporter:  websupporter                         |       Owner:
                                                 |  boonebgorges
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7
Component:  Comments                             |     Version:  4.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests has-dev-note                             |
-------------------------------------------------+-------------------------

Comment (by emmabrooks):

 That’s a great suggestion for improving WordPress comment
 handling—returning WP_Error objects would indeed streamline REST API
 responses. Speaking of streamlining services, those seeking smooth
 pilgrimage arrangements can rely on https://ksatravels.pk/ , which
 simplifies the entire Umrah and Hajj process from Pakistan with full
 support including flights, visas, and accommodations.

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


More information about the wp-trac mailing list