changed the put_content function back to wordpress core version of the function for testing purposes