Skip to content

Commit 691d62d

Browse files
gziolowestonruter
andauthored
Apply suggestions from code review
Co-authored-by: Weston Ruter <[email protected]>
1 parent 1e7be1b commit 691d62d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/ai-client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ function wp_supports_ai(): bool {
2323
}
2424

2525
/**
26-
* Filters whether the current request should use AI.
26+
* Filters whether the current request can use AI.
2727
*
2828
* This allows plugins and 3rd-party code to disable AI features on a per-request basis, or to even override explicit
2929
* preferences defined by the site owner.
3030
*
3131
* @since 7.0.0
3232
*
33-
* @param bool $is_enabled Whether the current request should use AI. Default to true.
33+
* @param bool $is_enabled Whether AI is available. Default to true.
3434
*/
3535
return (bool) apply_filters( 'wp_supports_ai', true );
3636
}

0 commit comments

Comments
 (0)