WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics by Yoast
[Plugin: Google Analytics for WordPress] undefined index ignore_userlevel (2 posts)

  1. MikevHoenselaar
    Member
    Posted 2 years ago #

    WP: 3.3.2
    Google Analytics for WordPress: 4.2.4
    WP_DEBUG true

    Notice: Undefined index: ignore_userlevel in /wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 1443

    :-)

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. Surbma
    Member
    Posted 2 years ago #

    I just wanted to open a new thread regarding this issue. I've successfully hacked the code, but please make this tiny change in the next version.

    if (isset($yoast_ga_options["ignore_userlevel"])) {
    	if ( ($current_user->user_level >= $yoast_ga_options["ignore_userlevel"]) )
    		return false;
    	else
    		return true;
    	}

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic