Support » Plugin: WP Google Fonts » [Plugin: WP Google Fonts] Deprecate call user/roles

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    Same problem for me…

    Is the error known, and is there a security hole with it ?

    Thanks for finding that @bozz and @pierre. We will update it in v3.0.2.

    In the mean time, you can change “function_admin_link()” in wp-content/plugins/wp-google-fonts/google-fonts.php from:

    add_options_page('Google Fonts', 'Google Fonts', 10, basename(__FILE__), array(&$this,'admin_options_page'));

    to:

    add_options_page('Google Fonts', 'Google Fonts', 'manage_options', basename(__FILE__), array(&$this,'admin_options_page'));

    The only change is making the ’10’ be ‘manage_options’.

    Thanks for your quick answer,
    still have problem messages in the admin of the WP google fonts panel :

    Notice: Undefined index: googlefonts_save in /mystuff/wp-content/plugins/wp-google-fonts/google-fonts.php on line 926

    Notice: Undefined variable: message in /mystuff/wp-content/plugins/wp-google-fonts/google-fonts.php on line 953

    Notice: Undefined property: stdClass::$error in /mystuff/wp-content/plugins/wp-google-fonts/google-fonts.php on line 202

    i’m not an expert in php so i bring to you the error like i see it…
    thanks for your help !

    Best Regards and thanks for this plugin !

    Thanks again Pierre. We have now written changes to correct these notices in the upcoming version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Google Fonts] Deprecate call user/roles’ is closed to new replies.