update wordpress framework with support for getallheaders