Skip to content

Commit

Permalink
AI Proofread: Disable it by default (#38715)
Browse files Browse the repository at this point in the history
* AI Proofread: Disable by default

* changelog
  • Loading branch information
renatoagds authored Aug 5, 2024
1 parent 4f6fd78 commit 0c3a847
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: other

Disable AI Proofread by default
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const disabledFeaturesFromLocalStorage = window.localStorage.getItem(
'jetpack-ai-breve-disabled-features'
);
const initialConfiguration = {
enabled: enabledFromLocalStorage === 'true' || enabledFromLocalStorage === null,
enabled: enabledFromLocalStorage === 'true',
disabled:
disabledFeaturesFromLocalStorage !== null
? JSON.parse( disabledFeaturesFromLocalStorage )
Expand Down

0 comments on commit 0c3a847

Please sign in to comment.