PSA: Do Not Use camelCase for WordPress Shortcode Attribute Names

Use lower or snake case instead of camel case for WordPress shortcode attribute names.

I just wasted nearly an hour troubleshooting a shortcode for a project because I did not know that WordPress shortcode attributes are passed through PHP’s strtolower() function (view source). I rarely use camelCase in PHP, and am also not a huge fan of shortcodes, so have easily managed to get through 15 years of developing …

Read more »

Sad Robot

sad robot

I am in a bad place. Not the worst place by far, but it keeps getting worse. My brain is starting to shut down and it is getting harder to come back. It happens whenever there are too many things. It has always happened, and no matter what kinds of medicines I take, or therapy …

Read more »