Skip to content

Instantly share code, notes, and snippets.

@kanedo
Created March 19, 2012 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kanedo/2127999 to your computer and use it in GitHub Desktop.
Save kanedo/2127999 to your computer and use it in GitHub Desktop.
GoogleAnalytics Plugin vs. Readability Favorites
//googleanalytics.php Line 824:
function authenticate() {
if ( isset( $_REQUEST['oauth_token'])) {
//…
//should be something like this
function authenticate() {
if ( isset( $_REQUEST['oauth_token']) && $_REQUEST['page'] == 'google-analytics-for-wordpress' ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment