WordPress.org

Ready to get started?Download WordPress

Forums

Strictly Auto Tags
User Levels Capabilities. (5 posts)

  1. emile.swain
    Member
    Posted 6 months ago #

    Having updated to 3.8 that removes all reference to old number style levels, i had to update the following line to remove error messaging by changing 10 to "manage_options"

    public function RegisterAdminPage() {
    		add_options_page('Strictly Auto Tags', 'Strictly Auto Tags', 'manage_options', basename(__FILE__), array(&$this,'AdminOptions'));
    	}

    http://wordpress.org/plugins/strictly-autotags/

  2. Strictly Software
    Member
    Plugin Author

    Posted 6 months ago #

    Thanks but I haven't had any problem with this since moving to 3.8 or 3.8.1 what is it your trying to do that was broken?

    Do you have multiple people writing for your site and your trying to block them from using this plugin?

  3. emile.swain
    Member
    Posted 6 months ago #

    I can't remember right now but the above code is in one of your scripts. As of version 3.0 the old user level numbered system is being deprecated. see here, http://codex.wordpress.org/User_Levels

  4. Strictly Software
    Member
    Plugin Author

    Posted 6 months ago #

    Yes in my current version of the plugin the code is

    public function RegisterAdminPage() {
    		add_options_page('Strictly Auto Tags', 'Strictly Auto Tags', 10, basename(__FILE__), array(&$this,'AdminOptions'));
    	}

    I don't know if it's because I haven't uninstalled it and re-installed it but it works fine for me at the moment. The admin link is in the side bar and everytime this plugin is instantiated that RegisterAdminPage method is called so surely it would break for me everytime I went into admin (or looked for the admin for it?)

    What errors were you getting?
    Do you have multiple people on your system and trying to block access?

    Just would like to know how to replicate the problem.

  5. Strictly Software
    Member
    Plugin Author

    Posted 5 months ago #

    I will put that code in my next update in case it causes issues.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.