Commit e5f110b
AI: Remove dead polyfills.php from php-ai-client.
Trac ticket: https://core.trac.wordpress.org/ticket/64591
The file is never loaded because the generated autoloader only handles
class autoloading, and the four polyfilled functions (`array_is_list`,
`str_starts_with`, `str_contains`, `str_ends_with`) are already provided
by WordPress Core in `wp-includes/compat.php`.
Also updates `installer.sh` to strip the file during future library updates.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 6c22d69 commit e5f110b
2 files changed
Lines changed: 3 additions & 91 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
228 | 231 | | |
229 | 232 | | |
230 | 233 | | |
| |||
0 commit comments