Setup PHP CodeSniffer along with WordPress Coding Standards [ Windows, XAMPP ]

The other day, I had some problem setting up latest WordPress coding standard for PHP CodeSniffer on a Windows machine. It was throwing some errors/warnings like the below. There were some others, but eventually we had fixed some of those. However the WP coding standards were not getting listed in phpcs.

Here are theContinue reading …

How to block the USSD notification/balance update messages on Android smart-phones ? [Solved]

Problem description: In India, whatever internet plans you take for your smartphones, be it 3G, 2G Internet, GPRS etc. it always keeps randomly disconnecting. Sometimes it reconnects automatically, sometimes it takes a while. So, during this process we keep getting a remaining balance message or notification for the data usage which is nothing but aContinue reading …

Timthumb not showing images and throws “Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. ” error. [Solved]

Recently I faced a situation where the timthumb script was unable to crop the images and was throwing error messages. There are themes those still use timthumb even though its a bad practice to use in themes when we have already functions available in core WordPress. Anyway I had to fix the issue as IContinue reading …