WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
No control over user capability (8 posts)

  1. Ryan Burnette
    Member
    Posted 11 months ago #

    This plugin currently allows for no control over the capability of the user who gets access to redirection. This could be easily remedied by changing the third argument line 118 on redirection.php to the following:

    apply_filters("redirection_user_cap","administrator")

    This would allow developers to add a filter for the "redirection_user_cap" tag and change "administrator" to some other capability without editing the core of the plugin.

    http://wordpress.org/plugins/redirection/

  2. Ryan Burnette
    Member
    Posted 11 months ago #

    It looks like there are other places where that capability must be set, but still as a user of this plugin I'd love for an update to be made which gives me control.

  3. Ryan Burnette
    Member
    Posted 11 months ago #

    Looks like the other place the edit would have to be made is on line 36 of ajax.php.

  4. AaronRutley
    Member
    Posted 10 months ago #

    + 1 for this feature

  5. FranH
    Member
    Posted 10 months ago #

    +1

    This little problem just robbed me of 2 hours trying to find why are my editors able to edit administrator user profiles (long story, with Admin Menu Editor in the middle).

    Anyways, dear author, please add this filter :) Pretty please?

  6. esmi
    Forum Moderator
    Posted 10 months ago #

    As per the Forum Welcome, please post your own topic.

  7. FranH
    Member
    Posted 10 months ago #

    @esmi Please reflect: this is a feature request, not a support issue. As such it makes little sense to have duplicates of it. IMHO anyway.

  8. esmi
    Forum Moderator
    Posted 10 months ago #

    These forums have rules. Please read them.

    As you will see, one of these rules - entitled Where toPost - specifically states:

    Unless you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster, do not post in someone else's thread. Start your own topic.

    Please abide by this and do not argue when you are asked to post your own topic.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.