Support » Plugin: Strictly Auto Tags » User Levels Capabilities.

  • 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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Strictly Software

    (@strictly-software)

    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?

    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

    Plugin Author Strictly Software

    (@strictly-software)

    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.

    Plugin Author Strictly Software

    (@strictly-software)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘User Levels Capabilities.’ is closed to new replies.