[wp-trac] [WordPress Trac] #65058: Abilities API: Catch exceptions thrown by ability callbacks

WordPress Trac noreply at wordpress.org
Thu Apr 16 04:33:49 UTC 2026


#65058: Abilities API: Catch exceptions thrown by ability callbacks
-------------------------------------------------+-------------------------
 Reporter:  gziolo                               |       Owner:  gziolo
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  7.0
Component:  AI                                   |     Version:  6.9
 Severity:  normal                               |  Resolution:
 Keywords:  abilities-api has-patch has-unit-    |     Focuses:
  tests commit dev-reviewed                      |
-------------------------------------------------+-------------------------

Comment (by pavanpatil1):

 **Patch Testing Report**

 Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11544

 **Environment**
 Playground
 WordPress: 7.0-RC2
 PHP: 7.4.33
 Server: nginx/1.29.4
 Browser: Chrome
 OS: macOS

 **Result**:

 The patch is working fine, and no console errors appear when generating
 the title. ✅

 **Screenshot:**
 Before fix:
 https://www.awesomescreenshot.com/image/59847079?key=4dfc4a8276de7c09255c6494d9b332e3
 After fix:
 https://www.awesomescreenshot.com/image/59847180?key=b07e03ee3043738e9b1ee6a9832eca8b

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


More information about the wp-trac mailing list