[wp-trac] [WordPress Trac] #64591: Add WP AI Client and corresponding connectors screen

WordPress Trac noreply at wordpress.org
Tue Mar 3 02:58:18 UTC 2026


#64591: Add WP AI Client and corresponding connectors screen
--------------------------------------+------------------------------
 Reporter:  flixos90                  |       Owner:  jason_the_adams
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  7.0
Component:  AI                        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by flixos90):

 In [changeset:"61787" 61787]:
 {{{
 #!CommitTicketReference repository="" revision="61787"
 AI: Catch exceptions in `WP_AI_Client_Prompt_Builder::__construct()`.

 Exceptions were already caught and transformed into `WP_Error` objects in
 all instance methods of `WP_AI_Client_Prompt_Builder`, but not in the
 constructor. This meant that if an exception was thrown during
 construction, it would not be caught and would cause a fatal error instead
 of returning a `WP_Error` object.

 Props gziolo.
 See #64591.
 }}}

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


More information about the wp-trac mailing list