WordPress.org

Ready to get started?Download WordPress

Forums

Simple Google Connect
[resolved] Admin notice visible to all roles (3 posts)

  1. RavanH
    Member
    Posted 1 year ago #

    Hi,

    Just noticed that the message "Simple Google Connect needs configuration information on its settings page" including (forbidden) link to settings page is visible even to Subscribers.

    Editing line 48 in sgc-base.php to something like:

    if ((empty($options['app_secret']) || empty($options['appid'])) && current_user_can('manage_options')) {

    seems to take care or this effectively.

    Hope this (or something similar) can be integrated into the next release :)

    http://wordpress.org/extend/plugins/simple-google-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 1 year ago #

    That would be a valid option, but not a high priority issue since one would expect you to go and configure the plugin immediately after activating it.

  3. RavanH
    Member
    Posted 1 year ago #

    Well, strictly speaking then, the reminder notice is not really needed at all ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic