• I have created a few custom plugins for my site.
    Because the plugins need to do some custom tasks ive got another file cron.php that is used to fire off the correct function within the plugin.
    Problem i am seeing is that when i run this on the CLI all whitespaces are removed from the output which makes debugging a bit weird.
    I only see this happen once ive loaded wp-load.php so it seems to be be WP related.

    Why is this happening.

Viewing 1 replies (of 1 total)
  • Thread Starter TSM

    (@tsm)

    I noticed that if i put
    <pre> tags around the output it becomes formatted on the CLI, is there a built-in WP function fiddling with the output unless in <pre> tags?

Viewing 1 replies (of 1 total)

The topic ‘CLI Tasks’ is closed to new replies.