John Blackbourn

Results 494 comments of John Blackbourn

@pbiron What I could support is not triggering the warning in the admin toolbar when a HEAD request results in a 404, because that seems like more of an acceptable...

> Getting WP-CLI to work with a project's `wp-config.php` file is often very difficult. I'd be interested to know what sort of code you're often putting into `wp-config.php` that often...

When `wp_next_scheduled()` is called, could Cavalcade fetch all events with one query (`SELECT * FROM cavalcade_jobs`) and cache the result for the current page load? This would mean `O(1)` query...

Ah yeah in that case it would need a clause to only fetch future events. The `cron` option used by default in WordPress contains all future events so the data...

"John Blackbourn is currently switched to Joe Public. They switched 2 minutes ago. Do you want to continue switching to Joe Public?"

Good spot. This was caused by #49. The parameter is documented in WordPress as `@param array|object $postarr` but the PHPStan tag that gets added is `@phpstan-param array{ ... } $postarr`.

Related: https://github.com/phpstan/phpstan/issues/2923

This should be fixed in 3.10, the property is no longer used.

@idejniprojekt That's a different error message. Can you let me know which plugins you're using on your site? Thanks.

Closing this off as it's not something I plan on adding. Cheers!