update WP files smtp and headers

sync changes from SVN