Orphaned postmeta: Orphaned comment meta Session Data: Delete post revisions: Delete transients: Delete unused tags:
Development
WP Autoload Options
Autoloaded options total size: Top 20 autoload options by size:
Disable that Damn ‘Welcome to the Block Editor’ Message.
This requires the @wordpress/scripts package but I don’t have the time to get into that now.
Connect PhpStorm to Local MySQL on Mac.
There’s some info out there about connecting to MySQL via socket using something called junixsocket. All the instructions were pretty straight forward but I continued to get an error, something about socket length or some such thing. Turns out we need a user with access via 127.0.0.1 so we can connect via port as opposed […]
Superscript ordinal date numbers with PHP
Only need to escape the superscript tag when formatting a date string. March 2nd, 2020 date(‘F j\<\s\u\p\>S\<\/\s\u\p\>, Y’)
Change Vim Cursor in Different Modes
To change the shape of the cursor in different modes, you can add the following into your .vimrc: