fix call_user_func warning

Warning: call_user_func_array() expects parameter 1 to be a valid
callback, class 'WC_Google_Analytics' does not have a method
'google_tracking_code' in /htdocs/wp-includes/plugin.php on line 405

tracking functions were inside of init_form_fields()
This commit is contained in:
Max Rice 2012-05-03 11:56:08 -04:00
parent 6ff4053797
commit c3fa081a44
1 changed files with 130 additions and 130 deletions

View File

@ -62,6 +62,8 @@ class WC_Google_Analytics extends WC_Integration {
) )
); );
} // End init_form_fields()
/** /**
* Google Analytics standard tracking * Google Analytics standard tracking
**/ **/
@ -191,8 +193,6 @@ class WC_Google_Analytics extends WC_Integration {
</script> </script>
<?php <?php
} }
} // End init_form_fields()
} }
/** /**