WordPress.org

Forums

Google Analytics Dashboard
Patch for a minor issue (1 post)

  1. Simon Wheatley
    Code for the People
    Posted 2 years ago #

    Hi @carson-mcdonald, thanks for this plugin!

    Line 70 on gad-admin-options.php uses user levels not capabilities, which triggers a deprecated notice. It could be changed to the following to avoid this:

    add_options_page(__('Google Analytics Dashboard Options'), __('Google Analytics Dashboard'), 'manage_options', __FILE__, array(&$this, 'admin_plugin_options'));

    (Note manage_options rather than 8.)

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Dashboard
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Simon Wheatley
  • This topic is not resolved
  • WordPress version: 3.4.2