Daryll Doyle WordPress Development and Consultancy in Cornwall

CategoryPHP

SVG Sanitization

S

A couple of days ago I was browsing through the WordPress core Trac looking for something to get involved in and stumbled upon the following issue:  The lack of ability to upload SVGs into WordPress has always been a slight annoyance to me so I decided to see what I could do about it. After reading through the thread, I realised that what PHP was really missing, was a decent SVG sanitizer. I read...

WordPress InnoDB Issues

W

I’ve been working with a lot of WordPress plugins recently and have come across a bug that had me stumped for a while, therefore, I thought it’d be worth sharing it here. After installing and activating a plugin that created new database tables, I realised that the tables had not been installed. I contacted the plugin support who suggested re-installing WordPress. Reluctantly I did...

PSR-4 Autoloading in WordPress

P

Recently I’ve been tasked with integrating a few API’s into WordPress sites. Whilst this doesn’t seem too hard, I found it hard to find solid documentation on the best practices in this scenario. In this post I will explain how I decided to go about these integrations, focussing mainly on my class loading inside WordPress. Why Autoload? Themes in WordPress all seem to be very...

Daryll Doyle WordPress Development and Consultancy in Cornwall