Creating a blog post archive at /blog/ without awkwardly publishing a page

For the runcommand website, I wanted the blog archive to live at runcommand.io/blog because I’m using the homepage as an informational archive page. This sort of use case is something WordPress supports, but it requires awkwardly publishing a page and then marking the page as a "Posts page." Instead, I wanted to do it with code. […]

Summary of the bootstrap / load updates coming in WordPress 4.6

Summary of the bootstrap / load updates coming in WordPress 4.6. Notable, after WordPress 4.6, WP-CLI will be fully compatible with any future changes to wp-settings.php. Previously, changes to wp-settings.php would break WP-CLI. Many thanks to Aaron Jorbin for helping work through the core changes.

Should I use PHPUnit or Behat for testing my WordPress plugin?

Bill from Georgetown writes: Just curious, what made you choose Behat for [WP-CLI] testing rather than PHPUnit like WordPress core, EDD and a lot of other big WordPress plugins? Is it just for easier readability of tests, or is there more to it? I have a few projects that need unit testing and am trying […]

A data schema for meta

Generally, I’m very supportive of adding more structured metadata around data in WordPress. I’m also not a huge fan of P2 discussion threads (because P2 kinda sucks), so keep that in mind if I forget to reply to a comment / don’t get an email notification about a comment. I think we should follow JSON […]

New plugin: One Time Login

Need access to a WordPress install but don’t want to create a new user account? Use this plugin and WP-CLI to generate a one-time login URL for any existing user: wp plugin install one-time-login –activate && wp user one-time-login <user> After you run the command, you’ll see a success message like this: Success: Your one-time […]