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

WordPress Trac noreply at wordpress.org
Thu Apr 9 19:51:26 UTC 2026


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

Comment (by justlevine):

 FWIW the semantics behind `wp_supports_ai()` is to check whether the
 current **WordPress** environment **supports** AI** functionality.

 I'm happy to change it to any short and self-documenting name. It only
 entered core in beta so it's not like it's a big deal to change. I thought
 about `wp_allows_ai()` for a bit, but the semantics didn't feel as good to
 me. 🤷

 Would recommend we avoid scope creeping into a broad `wp_supports( $thing
 )` or `current_site_can( $thing )` or other patterns. This is scoped for a
 specific and important need, and shouldn't block (or be blocked by)
 progress on defining what sort of `$things` should theoretically qualify
 for this new registry.

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


More information about the wp-trac mailing list