I’ve been using PHP_CodeSniffer and the WordPress Coding Standards sniffs in Visual Studio Code to help me avoid issues and follow the standards. Occasionally, though, I’ll get an error from a sniff that is either over-vigorous or I can’t comply with for reasons outside of my control. A common case is when I’m working with…

Read More

I had a pretty specific use-case where I needed jQuery to load earlier than usual. After googling “how to force wordpress to load jquery in the header”, I got all kinds of advice about how to replace the WordPress version of jQuery by deregistering the default and registering a different version, etc. I didn’t want…

Read More

What I searched for “Uncaught TypeError: $(…).tipTip is not a function” Beaver Builder Why I searched for it When I was trying to load Beaver Builder’s settings page in the WordPress backend, I was getting this error in Chrome’s Javascript Console, thrown by line 58 in /bb-plugin/js/fl-builder-admin-settings.js (the line in question: $( ‘.fl-settings-form .dashicons-editor-help’ ).tipTip();).…

Read More

I’m cleaning up a client’s WordPress database and found a very large row in the wp_options table with the option_name “expdbs_migrations_307560ade90b365a15bcb8d6d1aed8fa”. I suspected this was a remnant of a no-longer-installed plugin (they don’t have any plugins that start with “E” at the moment), but wanted to be sure before hacking it out. Googling “expdbs_migrations” found a number…

Read More

What I searched for phpmyadmin default to browse instead of structure Why I searched for it I swear this used to be the default behavior, but now (using phpMyAdmin 4.6.4 and MAMP 4.0.5—which turns out to be relevant) clicking a table name in the left sidebar opens up the “Structure” tab. 95% of the time I want…

Read More

What I searched for vvv phpmyadmin config file Why I searched for it I’ve just started using Varying Vagrant Vagrants to do some local WordPress development. When I visited the included phpMyAdmin install at http://vvv.test/database-admin/, I got the error “The secret passphrase in configuration (blowfish_secret) is too short.” From previous experience, I knew that I could add…

Read More

You may be familiar with the old “plus sign trick” where you can add a plus sign followed by anything you like to the local part (the part before the @ sign) of your Gmail address, and it will be delivered to your main email address. I’ve used that trick for years (on sites that…

Read More