Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 0 additions & 91 deletions src/wp-includes/php-ai-client/src/polyfills.php

This file was deleted.

3 changes: 3 additions & 0 deletions tools/php-ai-client/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ for path in "${REMOVE_PATHS[@]}"; do
rm -rf "$TARGET_DIR/third-party/$path"
done

# Remove polyfills.php — WordPress Core already provides these functions in compat.php.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Remove polyfills.php — WordPress Core already provides these functions in compat.php.
# Remove polyfills.php — WordPress Core already provides these functions in compat.php, and the file is never loaded by the custom autoloader.

rm -f "$TARGET_DIR/src/polyfills.php"

# ---------------------------------------------------------------------------
# Generate autoload.php
# ---------------------------------------------------------------------------
Expand Down
Loading