WordPress.org

Ready to get started?Download WordPress

Forums

The Permalinker
debugging: The permalinker has_cap error fix (1 post)

  1. Rose Mckeon
    Member
    Posted 9 months ago #

    hi andy,

    since wp update this plugin now causes a has_cap error. couldn't see any posts about it so here is the fix for anyone who needs it and if you want to update the plugin :)

    line 92 in the-permalinker.php

    change the 1 to a capability. eg:

    add_submenu_page('options-general.php', 'Permalinker Help', 'Permalinker Help', 1, 'permalinker_help', 'permalinker_help');

    becomes

    add_submenu_page('options-general.php', 'Permalinker Help', 'Permalinker Help', 'manage_options', 'permalinker_help', 'permalinker_help');

    http://wordpress.org/extend/plugins/the-permalinker/

Reply

You must log in to post.

About this Plugin

About this Topic