Blog

  • How to add PHPCS checking to Visual Studio Code

    How to add PHPCS checking to Visual Studio Code

    If you’re rocking VS Code and would like to automate PHPCS checking from within the editor, look no further.

    Not installed PHPCS yet? Check out my guide first. Once that’s done, thankfully, the process to do this is quite simple…

    (more…)
  • Installing PHPCS on MacOS

    Installing PHPCS on MacOS

    If you’re developing for WordPress then, in my opinion, use of PHPCS to help validate your code is critical.

    However, anyone can develop without necessarily being a whizz with the command line (and I include myself in that bracket). So, having just gone through a PHPCS install with a freshly-baked MacBook, I thought I’d share the process. If only for me the next time I do it.

    (more…)
  • Enemy of the (business) people

    Enemy of the (business) people

    Positions such as yours take [away] even the slightest incentive for plugin creators to create great plugins for free

    This was feedback given to me in the WordPress.org forums after I left poor feedback for a plugin. I’ll write about the specifics of this separately, but essentially a plugin was doing some particularly nasty advertising practices which, I believe, are against the guidelines. It’s also been reported to the Plugin Review team so I’ll leave it up to them to be the final arbiter.

    But, yes, the developer didn’t take the review well.

    (more…)
  • A week in Llandudno

    A week in Llandudno

    For our family holiday this year, we head to Wales. Specifically Llandudno – somewhere we’ve not been to before but has been highly recommended by friends.

    (more…)
  • WordPress function to check if a minimum set of requirements are met

    WordPress function to check if a minimum set of requirements are met

    Combining a couple of older functions, adding in some further automation and generally bringing them to a higher code quality, I’ve now created a new WordPress function for checking minimum requirements for a plugin.

    The idea is, you add this to your plugin and, when run, it ensures that certain checks are passed. If not, a message is displayed and the plugin is deactivated.

    (more…)