Properly Implementing a Custom Header in WordPress 3.4+
As everybody knows by now, the way that custom headers are created and implemented in WordPress since version 3.4 has changed. The older method of using add_custom_image_header and constants in place of variables is now deprecated.