• Resolved litbea

    (@litbea)


    I think currently no role other than admin can access /wp-admin/tools.php?page=view-broken-links page.

    It would be great if you could add the capability of allowing other roles than admin to manage the /wp-admin/tools.php?page=view-broken-links page, so and editor (or editor-like new role using User Role Editor, in my case) can update broken links on its own.

    I’m aware of the “Show the dashboard widget for” function, but I mean a different thing.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter litbea

    (@litbea)

    I’ve tried editing core.php on line 309 with

    function admin_menu(){
    //if (current_user_can(‘manage_options’))
    if (current_user_can(‘edit_pages’))

    but it’s not working 🙁

    Thread Starter litbea

    (@litbea)

    Looking into the same core.php file there are a number of checks for current_user_can(‘edit_others_posts’), but I’ve allowed that on my usecase and is not working 🙁

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add capability to some roles’ is closed to new replies.