2

Daniel Bachhuber is the new maintainer of WP-CLI

Today Cristi Burcă (perhaps better known as scribu) announced on the WP-CLI blog that Daniel Bachhuber will now be the maintainer of the WP-CLI project. As Cristi notes, he’s no longer using WordPress, so it makes perfect sense to hand off the project to someone using it on a daily basis.

Unlike me, Daniel is using WordPress and WP-CLI professionally every day, so he has a much better sense of what the paint points are. Besides that, he’s a long time contributor and has been leading many other open-source projects in the WordPress ecosystem. Therefore, I’m confident that WP-CLI is in good hands.

Kudos to Cristi for the immense amount of work he put into WP-CLI over the last three years, and here’s to a great future for the project!

Read more @scribu.net →
2

Microcaching with Nginx

Zach Brown has a nice post up on how to set up microcaching with Nginx combined with Batcache to handle big spikes of traffic (or just to maximize efficiency and enable running a site on low resources). Zach explains that while Batcache is a great solution and performs very well, it still requires loading PHP and 1.12% of the WordPress core application on every page load if used alone. In order to conserve resources even more, Nginx can be used to serve full page caches. In order to avoid the issue of when to purge the Nginx cache, Zach simply limits the cache time to a maximum of five seconds, so a new cache is built very frequently, while at the same time, only twelve requests per minute can reach WordPress and Batcache, significantly reducing server load.

Zach notes that a common solution to this problem is to simply use Varnish. However, he plans to use SPDY at some point, which requires loading the entire site with SSL. Varnish will not do SSL termination, but Nginx will.

Be sure to read Zach’s post for all the details, including the code required to set this up.

Read more @thelastcicada.com →
2

WordPress 3.8.3 fixes a bug with “Quick Draft”

Last week’s 3.8.2 security release introduced a bug where drafts written with the Quick Draft tool in the dashboard were not saved. That bug is fixed with today’s 3.8.3 release. What’s really interesting about this release is that not only is the bug fixed, but discarded draft posts will be restored, if possible.

It’s possible that the quick draft you lost last week is still in the database, and just hidden from view. As an added complication, these “discarded drafts” normally get deleted after seven days, and it’s already been six days since the release. If we were able to rescue your draft, you’ll see it on the “All Posts” screen after you update to 3.8.3. (We’ll also be pushing 3.8.3 out as a background update, so you may just see a draft appear.)

Kudos to the core team for going the extra mile to attempt to reduce the impact of this bug, which is already an edge case. In today’s announcement post, Andrew Nacin notes “…any loss of content is unacceptable to us,” and it’s clear that this isn’t just a superficial claim.

Read more @wordpress.org →
4

WordPress.vim

Darshan Sawardekar has released a very impressive looking plugin for Vim, appropriately titled WordPress.vim. If you use Vim as your editor/IDE, you should definitely check this out. The plugin includes support for an impressive array of features and other tools, including syntax highlighting (including highlighting deprecated functions), WP-CLI, autocompletion, the WpSeek API, and more.

The project also includes a CONTRIBUTING.md file on GitHub, a practice I’d like to see more projects in the WordPress community embrace. That will only serve to foster collaboration and improvement of the project. Darshan explicitly solicited contributions in his announcement post:

WordPress.vim needs the help of the WordPress community to keep improving. Please consider joining this effort by providing new snippets, new features or bug reports.

If you find that a feature is missing or find a big, please contact me or and add an issue to the issues tracker on GitHub.

I can’t wait to use this plugin myself, and see where the project goes as more people get involved with it.

Read more @pressing-matters.io →