Here’s a sequence of events I wouldn’t wish on anyone. What started out as one website running low on disk space ended up with me having to reload some of my local databases from backups. [Read more…]
Having spent some time taking performance measurements with PHP 5 I’ve decided to try PHP 7 and run the suite of tests all over again. [Read more…]
I’ve had this problem for a while now. I’m happily working away on my Windows PC, editing posts, changing code and testing and then out of the blue comes a
Fatal error: Cannot redeclare message.
But when I press Enter or refresh it goes away.
Here’s a little bit of PHP that helps you to solve the Crocodile maths question. [Read more…]
Using my oik-types plugin it’s possible to override a post type definition such that it’s still registered even when the original plugin that created it is not activated. [Read more…]
Ava – Aoife – is a radiant beauty
In this blog post I mention some of the tasks I needed to perform in order to migrate oik-plugins.com to the Genesis framework. [Read more…]
How to prevent WordPress from attaching an unattached image to a post when you use
Insert into post.
Here’s a snippet of code that I wrote in response to a simple question from Ben Huson, posed on Twitter yesterday. [Read more…]
Q. Should I change my code back to using
dirname( __FILE__ ) instead of
A. No. I’m going to stick with
__DIR__ until someone complains.