Skip to content

Scenarios that disable ini_set fail since 5.4.0 #416

Closed

Description

@schlessera

Since 5.4.0, scenarios that run WP-CLI with ini_set disabled (-ddisable_functions=ini_set) fail with:

Call to undefined function WP_CLI\ini_set() in php/WP_CLI/Runner.php:3112

This breaks the WP-CLI framework tests on main (example run) and blocks wp-cli/wp-cli#6444 and wp-cli/wp-cli#6445. The likely trigger is the PHP settings added in #401.

Part of #394.

Activity

  1. added a commit that references this issue on Nov 18, 2026
    7d12115
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingscope:testingRelated to testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions