The new editor has the potential to be an amazing experience. While there’s a lot of kinks to be ironed out, there are some less appreciated consequences, that lead to more exciting places! I’m a strong believer that the new Gutenberg editor introduces a landmark shift in WP UX design for WordPress. Similar to the […]
Mourning the loss of VIP Quickstart? A fan of VVV? Then I have something for you.
A few weeks ago, I wrote an article titled Post Meta Abuse, but I think some have misunderstood the problem at hand. Meta Queries are Bad? Searching for posts via post meta is bad, but grabbing post meta is not. For example, this is a hideously expensive/slow query: $args = array( ‘meta_key’ => ‘color’, ‘meta_value’ […]
I need to write a REST API endpoint, but lets assume we know nothing about REST APIs.
Varying Vagrant Vagrants ( VVV ) has undergone a small transformation for the better. This post will cover what’s changed and how to make sure your local developer environment isn’t left behind The New Provisioner The fabulous Lorelei Aurora has rewritten the provisioning system for VVV, enabling a slew of new features and improved speed/reliability, […]
What is the correct way to build a WordPress plugin, the official, recommended way that was always intended? The idealised standard? The Problem Plugins are not discrete modules in the WordPress world. Their isolation exists only on the filesystem, but once that code is loaded into memory it shares the same space as Core itself. […]
Functions and methods should return data structures, not rendered HTML. Returning HTML encourages early escaping, HTML parsing, and mixed data processing and output. These are all security and performance issues. What Could Go Wrong? Assembling and handling strings of HTML complicates things as you’re no longer dealing directly with the data, but a particular form […]
Post meta queries bring down databases, cripple traffic scaling, and dramatically inflate page load times. Thankfully there’s an almost trivial solution. Searching for Meta The problem comes when you need to query for post meta. This is a data design failure. Examples include: A meta key for posts that should appear on the homepage Marking a […]
Have you ever encountered this error? Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured (“config.vm.boot_timeout” value) time period. If you look above, you should be able to see the error(s) that Vagrant had when attempting to connect to the […]
Lunch can be stressful for any WordCamp organiser, but there’s a major issue that’s trivially easy to fix that’s gone unnoticed. What’s for lunch? Different people have allergies and dietary requirements, but lunch can be a stressful and anxious situation for all attendees. For example, lunch at the first WordCamp Europe was a mound of unlabelled […]
- August 2017