SVG Sanitization

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: https://core.trac.wordpress.org/ticket/24251 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 … [Read more…]

WordPress InnoDB Issues

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 … [Read more…]

PSR-4 Autoloading in WordPress

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. … [Read more…]