WordPress.org

Forums

Ultimate Noindex Nofollow Tool
PHP Notices [fix] (1 post)

  1. styledev
    Member
    Posted 2 years ago #

    In ultimate-noindex.php:

    In function unn_admin_menu() change 8 to 'manage_options'
    Before: add_options_page('Ultimate Noindex Nofollow Options', 'Ultimate Noindex', 8, __FILE__, 'unn_admin');
    After: add_options_page('Ultimate Noindex Nofollow Options', 'Ultimate Noindex', 'manage_options', __FILE__, 'unn_admin');

    Fixes: Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.

    Fix for 13 undefined errors: I refactored the unn_admin_menu() function to fix all the errors. You can find it here: https://gist.github.com/anonymous/5730886

    http://wordpress.org/extend/plugins/ultimate-noindex-nofollow-tool/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate Noindex Nofollow Tool
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic