• Resolved mabujo

    (@mabujo)


    I think this plugin would benefit greatly from supporting WordPress roles.
    A site may have users that can write posts, but we can not trust to be able to add abritrary code to the page head.
    I edited the plugin with “if( current_user_can( ‘manage_options’ ) )” to restrict the capability to admins, but it would be nice if the plugin could handle this?

    https://www.ads-software.com/plugins/per-page-add-to/

Viewing 1 replies (of 1 total)
  • Plugin Author Erikvona

    (@erikvona)

    Capability and role support is added in the 1.2 update, which will probably launch today (a new capability, add-to-head, is added, and because some admins will want editors or even users to be able to do this, and a management page is added to assign this capability to the available roles. Administrators have this capability by default, and this cannot be removed).

    Thanks for the tip!

Viewing 1 replies (of 1 total)
  • The topic ‘Add user role support’ is closed to new replies.