CB Wright

@ubersoft
165 Followers
122 Following
989 Posts
Self-Publishing Supervillain
Eviscerati.Orghttps://www.eviscerati.org
@dzwiedziu @davidgerard I'm not a fan of the AI tools by any means, but modifying your wp-config.php file isn't hacking. It's one of the primary tools you have on hand for customizing your site.

@davidgerard specifically you add:

define( 'WP_AI_SUPPORT', false );

to your wp-config.php file.

Still running!

AI disabled!

@davidgerard From what I've researched you can completely disable AI access via a setting in your wp-config.ini (EDIT: wp-config.php, not .ini) file. They even patched it to keep rogue plugins from trying an end-run around it.

Inner Voice That Always Gets Me Into Trouble: Just update your website now, in the middle of the day. Let's see what happens.

Me Who Ought To Know Better: Sure, that seems like a solid plan.

... I'll let y'all know.

So I'm still not thrilled about AI being a feature but I do have to give them props for putting thought, time, and energy into making sure that the ability to turn it off actually turns it off.

(The patch was accepted and incorporated into WP7 during the Release Candidate process, as best I can tell.)

Not only did they add an entry in the config file to allow you to disable AI integration, but they anticipated that some... "over enthusiastic" plugin makers might try to find ways around that and enable AI integration anyway, whether you want it or not. I found a whole discussion on a patch added to make sure that when the site admin turns it off, it stays off, and plugins can't do an end run around that setting.

Since I complained about it earlier I feel it's important to give respect when due: WordPress 7.0 released and my host will be updating my site to it eventually. I was super concerned because WordPress 7 is supporting AI integration, and there are a lot of negative connotations that come with that.

Well, as it turns out, the developers were looking ahead and anticipating that, because they made it possible to turn that integration off.

But there's more...

@Owen_G_Richards That's about how I understood it. One of the guys I knew about claimed it was the One True Path to writing bug-free code.