• Resolved topi_r

    (@topi_r)


    if (class_exists(‘WP_CLI’)) {
    WP_CLI::add_command(‘cli_debug’, ‘cli_debug’);
    }
    function cli_debug() {
    while (true) {
    var_dump(‘Print this till the end of the world!’);
    }
    }

    WP CLI will crash due memory issues if this plugin is activated. Not a single line is printed.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘This plugin breaks WP CLI’ is closed to new replies.