Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Mar 24, 2014
@tarodenberg tarodenberg Add nocache_headers() to action_authorize() to prevent servers from c…
…aching the 301 redirect in specific situations.
a123954
@alexkingorg alexkingorg Merge pull request #188 from tarodenberg/feature/auth-cache-redir
Add nocache_headers() to action_authorize() to prevent servers from caching 301 redirect
f17cb49
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/social/controller/auth.php
View
1  lib/social/controller/auth.php
@@ -60,6 +60,7 @@ public function action_authorize() {
$proxy = apply_filters('social_proxy_url', $proxy);
}
+ nocache_headers();
Social::log('Authorizing with URL: '.$proxy);
wp_redirect($proxy);
exit;

No commit comments for this range

Something went wrong with that request. Please try again.