• 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)
  • Plugin Author Ironikus

    (@ironikus)

    Hey @topi_r – thanks a lot for your message!
    Can you tell me how you call that fu crook above?
    I’ll definitely dig into that as well.
    Thanks for mentioning.

    Plugin Author Ironikus

    (@ironikus)

    Hi @topi_r – I investigated as well and the problem is that we scan the buffer the whole output of the site. For some reason, wp-cli doesn’t like that.
    I created a beta version for you here, which includes a fix for that.
    You can download it here: https://www.dropbox.com/s/x50e4ntizr6nr7z/wp-mailto-links.zip?dl=1

    Feel free to reach out again after trying it.

    Plugin Author Ironikus

    (@ironikus)

    Hey @topi_r – We just pushed a fix for the WP CLI now. Feel free to use the new version instead of the one I sent you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘This plugin breaks WP CLI’ is closed to new replies.