• Hi,
    on wp-cli execution HTML is dispayed.
    rgh-optimize-database.php line 743 – 740.

    Please add && !defined( 'WP_CLI' )
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Alex@portalZINE

    (@portalzine)

    Line : 186 odb-displayer.php. Tweaked that to get it fixed for CLI…

    Cheers

    Plugin Author NerdPress

    (@nerdpressteam)

    Hi Alex @portalzine!

    Thanks for flagging this. Seems like a straightforward improvement we can make… I’ve added it to our to-do list. ??

    Cheers!

    Thread Starter Alex@portalZINE

    (@portalzine)

    Thanks! There are other areas that output html in cli mode as well.
    Tweaked the database optimisation code and others to get a clean CRON output.
    Cheers
    Alexander

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