Doing Things Wrong

WordPress 5.5

WordPress 5.5 just dropped, and once again they have made a complete mess of image handling. Now every image is smeared out in the vertical direction.

My custom responsive theme does all the image sizing, and all my images are oversized, so basically I don't have to worry about image sizing at all. The downside is that, yes, it uses more bandwidth, but I don't care. Networks are constantly getting faster, bandwidth is a stupid thing to worry about - there is an infinite supply. Since my images are already over-sized, if I someday want to adapt the layout to new larger displays, I won't have to do anything with the hundreds of images in the site.

The new WordPress breaks all that. Fortunately, there is a simple css fix. Just add this to your css:

img{
max-width: 100%;
height: auto;
}

This css will override the width and height attributes that WordPress now insists on writing. Funny how that crufty old html is now back in vogue.

If you would like to disable the new 'lazy loading', add this to your functions.php:

add_filter( 'wp_lazy_loading_enabled', '__return_false' );

I wouldn't recommend that, since the css fix does the trick, and lazy loading is not a bad idea otherwise. WordPress seems to be trying to go in every direction at once with image handling, and the result is a real mess.

On the plus side, there are some nice new features. WordPress finally almost caught up to me with xml sitemaps. It can now generate them natively, so I disabled my code. However, there is still no search engine 'ping' functionality, so they still have a ways to go.

The automatic update of themes and plugins may or may not be a good thing. You really don't want to automatically install the new broken version of something. I turned it on to see how it works out. I keep the plugins to a minimum; so many of them are really not well written.

There are new features in the editor, again I'm not sure if that is good or bad. We'll see. But you can't hold back the tide, when WordPress updates, you just have to grit your teeth and bear it. And find fixes for their mistakes.


This beauty is Evets' reissue of a 1960s Danelectro Hornet. The solid-body Hornet has the same body outline as the Silvertone 1452, a sort-of cross between a 1457 and a Fender Jazzmaster. But unlike the slab-sided 1452, the body of the Hornet is a continuous curve, front and back, with a completely rounded edge. ( This is as sexy as a guitar gets, but makes it a little slippery on your knee. ) The reissue from Evets has the same contours as the original, and even the same 'lightshow' pickguard. The three-tone sunburst on this one was an exclusive to Guitar Center. I picked this one up as an 'open-box' from their subsidiary Music123 for a song, so to speak. The body was originally slathered in dullcote, which I polished off, resulting in a beautiful shine with just a bit of orange peel that I left.

Printed from luthierylabs.com