Update WordPress compatibility to 4.0