WordPress Version Check

Recently a lot of people have been hit by a wordpress security vulnerability that was fixed with an hour of it being reported about a month ago. Why have they fallen prey to this vulnerability – because they failed to update to the latest version for one of many possible reasons:

  1. Laziness.
  2. They failed to notice the post on the dev blog in their wordpress dashboard.
  3. They failed to notice the number of people blogging about having upgraded.
  4. etc

To help alleviate this problem in the future I have crafted a simple wordpress plugin which takes a simple approach to get the users attention. Once activated the plugin checks an XML-RPC webservice for update news displaying a message at the top of every page in the wordpress admin user-interface. The plugin will check for an update to the message every 15 mins with an additional check being kicked off if the installed wordpress version changes so as to give instant feedback on upgrades.
Continue reading “WordPress Version Check”

Discovering if you’re running on a RightToLeft Windows Operating System

I am currently working on ensuring that a chunk of VB6 code behave well on particular targeted versions of windows as part of an internationalised release of a software product. In order to complete the user experience I needed to detect whether or not we were running on one of the few windows versions that works RightToLeft instead of LeftToRight (I believe this is just Arabic and Hebrew windows although I may be wrong!). I’ve spent a good few hours over the past couple of days trying to track a way of doing this down. Searching MSDN and the www via google brought no luck. I tried a great variety of search terms including: “RightToLeft Windows detecting“, “RTL
Continue reading “Discovering if you’re running on a RightToLeft Windows Operating System”