Make WordPress Core

Changeset 61786


Ignore:
Timestamp:
03/03/2026 02:35:36 AM (5 weeks ago)
Author:
flixos90
Message:

AI: Remove unnecessary PHP AI Client polyfills file.

These functions, which are needed for the package, are already polyfilled by WordPress Core. They were never loaded by the custom autoloader in Core anyway, so they are dead code that is safe to remove.

Props gziolo.
See #64591.

Location:
trunk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/php-ai-client/installer.sh

    r61700 r61786  
    226226done
    227227
     228# Remove polyfills.php — WordPress Core already provides these functions in compat.php.
     229rm -f "$TARGET_DIR/src/polyfills.php"
     230
    228231# ---------------------------------------------------------------------------
    229232# Generate autoload.php
Note: See TracChangeset for help on using the changeset viewer.