We can’t do a fast-forward merge when the most recent commit on the receiving branch does not appear in the branch we are merging in. One of our options in this situation is to rebase the branch we want to merge in.
Making fetch calls with Promises vs async/await.
The WordPress block editor (a.k.a. Gutenberg) communicates with the database via the WordPress REST API. We can read and write post meta from within the Gutenberg editor after we enable the specific post meta field in the WordPress REST API.
Code to add a custom column to the WP Admin Posts listing page.
When using a WordPress translation function, e.g. __(), you need to use a hardcoded string (not a variable).
There are lots of ways to write variable names when programming. This is the list of ones I find myself using.
Recently I was talking to another developer about how to detect ‘WP_DEBUG’ being set on a WordPress installation. Here is the code I use.