WordPress.org

Plugin Directory

Changeset 612871


Ignore:
Timestamp:
10/15/12 18:19:46 (18 months ago)
Author:
aaroncampbell
Message:

Fix undefined index after upgrade from pre-1.3.0

Location:
wp-google-analytics/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-google-analytics/trunk/readme.txt

    r608717 r612871  
    7979== Changelog == 
    8080 
     81= 1.4.1 = 
     82* Fix undefined index notice for users upgrading from pre-1.3.0 
     83 
    8184= 1.4.0 = 
    8285* Support for tokens in custom variables 
  • wp-google-analytics/trunk/wp-google-analytics.php

    r609858 r612871  
    526526     */ 
    527527    public function track_outgoing() { 
    528         $wga = $this->_get_options(); 
    529         if ( 'true' == $wga['log_outgoing'] && (!defined('XMLRPC_REQUEST') || !XMLRPC_REQUEST) && ( ! is_admin() || $wga['ignore_admin_area'] == 'false') ) 
     528        if ( 'true' == $this->_get_options( 'log_outgoing' ) && (!defined('XMLRPC_REQUEST') || !XMLRPC_REQUEST) && ( ! is_admin() || 'false' == $this->_get_options( 'ignore_admin_area' ) ) ) 
    530529            wp_enqueue_script( 'wp-google-analytics', plugin_dir_url( __FILE__ ) . 'wp-google-analytics.js', array( 'jquery' ), '0.0.3' ); 
    531530    } 
Note: See TracChangeset for help on using the changeset viewer.