define('GAWP_VERSION', '4.2.2');
GA_Admin::_construct()
add_action('admin_init', array(&$this, 'authenticate') );
GA_Admin::authenticate()
function authenticate() {
if ( isset( $_REQUEST['oauth_token'] ) ) {
...snip...
wp_redirect( menu_page_url( $this->hook, false ) );
}
OAuth is not GAWP own.
Many plugins that use OAuth is affected.
Please check the below patch.
function authenticate() {
+ if ( !isset( $_REQUEST['page'] ) || $_REQUEST['page'] != $this->hook ) return;
if ( isset( $_REQUEST['oauth_token'] ) ) {
$o = get_option( $this->optionname );
or strpos($_SERVER['REQUEST_URI'], menu_page_url($this->hook, false))
or better your solutions
Thanks.
http://wordpress.org/extend/plugins/google-analytics-for-wordpress/