[wp-trac] [WordPress Trac] #64706: A single config option to disable all LLM related features

WordPress Trac noreply at wordpress.org
Thu Apr 16 08:20:22 UTC 2026


#64706: A single config option to disable all LLM related features
-------------------------------------------------+-------------------------
 Reporter:  romainmrhenry                        |       Owner:  justlevine
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  7.0
Component:  AI                                   |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  ai-client has-patch has-unit-tests   |     Focuses:
  commit dev-feedback                            |
-------------------------------------------------+-------------------------

Comment (by gziolo):

 In [changeset:"62241" 62241]:
 {{{
 #!CommitTicketReference repository="" revision="62241"
 AI: Prevent `wp_supports_ai` filter from overriding the `WP_AI_SUPPORT`
 constant.

 When `WP_AI_SUPPORT` is explicitly set to `false`, `wp_supports_ai()` now
 returns early before the filter runs. This ensures the site owner's
 explicit preference to disable AI cannot be overridden by a plugin via the
 `wp_supports_ai` filter.

 The filter default is now always `true`, since the constant check happens
 beforehand.

 Developed in: https://github.com/WordPress/wordpress-develop/pull/11295

 Follow-up to [62067].

 Reviewed by justlevine, westonruter, adamsilverstein.
 Merges [62239] to the 7.0 branch.

 Props justlevine, westonruter, gziolo, mindctrl, adamsilverstein,
 johnjamesjacoby, ahortin, nilambar, ozgursar, audrasjb, jeffpaul.
 Fixes #64706.
 }}}

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


More information about the wp-trac mailing list