Bug in Chrome Renders WordPress Admin Menu Incorrectly (fix included!)

Do you work in WordPress using Chrome? If so, you may have recently noticed that the sidebar admin menu gets messed up bit when you hover over menu items or just work in it for a few minutes. I haven’t noticed if this bug affects other websites. The Problem Notice that there are menu items overlapping others, menu items missing and as you hover over them, they may fix themselves temporarily or move on you. This is a bug specific to Chrome which first appeared in v45 (the current version). The Chrome team has has discovered that the problem is … Continue reading

Debugging in JavaScript

One of the most popular ways of debugging in JavaScript when you are just getting started is to use the JavaScript alert() and input() functions. However there are times when clicking OK repeatedly can become tedious not to mention time consuming. Here are a few additional advanced JavaScript debugging techniques you can use to help increase your productivity. JavaScript Console API Functions Unlike the alert(), this the console API functions just displays a message in the debugger console and continue execution. For example: console.log(“Total is now: ” + t); There are other useful console API functions for debugging: console.group() console.info() console.log() … Continue reading

Making XDEBUG work with NetBeans on Windows

After spending way more time that I should like to admit trying to get XDEBUG to work with Notepad++ using the DBGp plugin in anything but the simplest of projects, I decided to look for an alternative. I compared features of 9 different IDE’s for PHP development and reading tons of reviews. There are many great IDE’s out there and everyone will have their favourite. My short list ended up including: Eclipse (PDT) 3.5 — Didn’t bother trying it. While I’m sure it’s a fine product, the website is ancient and not user friendly. Way too much work to try and … Continue reading