• Hi,
    I wrote a patch to avoid notices and warnings when in WP_DEBUG mode. I hope it can be integrated into trunk.

    Index: ultimate_ga.php
    ===================================================================
    --- ultimate_ga.php	(revision 462584)
    +++ ultimate_ga.php	(working copy)
    @@ -313,7 +313,7 @@
         uga_debug('Adding options page');
         add_options_page('Ultimate Google Analytics' /* page title */,
                          'Ultimate GA' /* menu title */,
    -                     8 /* min. user level */,
    +                     'level_8' /* min. user level */,
                          basename(__FILE__) /* php file */ ,
                          'uga_options' /* function for subpanel */);
       }
    @@ -521,7 +521,7 @@
     function uga_track_user() {
       global $user_level;
       uga_debug('Start uga_track_user');
    -  if (!user_level) {
    +  if (!$user_level) {
         // user nog logged on -> track
         uga_debug('User not logged on');
         $result = true;

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

  • The topic ‘[Plugin: Ultimate Google Analytics] patch for deprecated functions’ is closed to new replies.