perrybutler/WP-OAuth — pull request #1 by larsschenk (2014-12-12 00:29:20+00:00)
Title: Use site_url() instead of $_SERVER['SERVER_NAME'].

Use WordPress function site_url() instead $_SERVER['SERVER_NAME'] to get a better result. When WP is running "in cloud" (behind proxy/loadbalancer...) the SERVER_NAME will be misleading here.