Currently reading: The Shining by Stephen King

Remove hashed placeholders when debugging WordPress SQL statements

Sometimes some search or meta query you're trying to do refuses to cooperate and and return results. If you thus find yourself poking around WP_Query's request property, which is a copy of the SQL statement executed to create your query object, you may have noticed some odd and space-inefficient syntax when using the LIKE operator.

Keep on readin' on Remove hashed placeholders when debugging WordPress SQL statements

Be wary when footer debugging

I know you're not "supposed" to debug things by outputting them into or past the footer of a site, but sometimes you just need to check on something real quick, like the ID or some other bit of data about a post, and you don't feel like dealing with any proper debugging tools. The wp_footer hook then gets used and the results don't make sense. What happened?

Keep on readin' on Be wary when footer debugging

Limiting dynamic WPML translations to one instead of hundreds

This isn't limited to WPML (or even WordPress), of course, as it's about translating dynamic strings in general. But SEO best practices say you must have a very specific keyword focus in your title and whatnot or your words will never be seen by human eyeballs ⸺ that your efforts will be for naught but to train some unknown but all-knowing AIs that will never pay you for your contribution.

Keep on readin' on Limiting dynamic WPML translations to one instead of hundreds