updating to ssl for wordpress api calls