Forums

iPhone theme switch
[resolved] Since plugin update, only administrators can access wordpress admin (3 posts)

  1. Gamedot
    Member
    Posted 1 year ago #

    Hi.

    Since the update of this plugin, only administrators can access the WordPress admin area. Editors get an error that they do not have sufficient permissions.

    I've had to change the access to my staff now so they can post news, which is bad as they now have access to all of the sites settings etc. Luckily I have trustworthy staff, but can this be resolved as a matter of urgency please as this plugin is very important for the running of the site.

    Thanks,

    http://wordpress.org/extend/plugins/iphone-theme-switch/

  2. Rafael Poveda - RaveN
    Member
    Posted 1 year ago #

    Same problem here.

  3. jentulman
    Member
    Posted 1 year ago #

    Had the same problem, couldn't find a fix so I took a look myself.

    All you have to do is comment out line 28 of iphone-theme-switcher.php
    so it doesn't call wp_die for non-admin users.
    This will still restrict the settings page to only the admin role.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic