Update wordpress code, minor fixes