Forums

Lock Pages
Not working with WP 3.1.1 (5 posts)

  1. Christian Rank
    Member
    Posted 4 months ago #

    Lock status is displayed, but editing and saving a locked page by an editor is possible.

    http://wordpress.org/extend/plugins/lock-pages/

  2. Steve Taylor
    Member
    Posted 4 months ago #

    I'm assuming "3.1.1" in the title is a type for "3.3.1"?

    Could you check your settings to see which capability is there as necessary to edit locked items? It defaults to update_core (usually admins only). If that's what yours says and you want editors to edit locked items, change it to something like publish_pages.

    Further reading:

    http://wordpress.org/extend/plugins/lock-pages/faq/

    http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table

  3. Christian Rank
    Member
    Posted 4 months ago #

    Sorry, this was a typo. Actually it's WP 3.3.1.

    The WP capability to edit locked pages is "manage_options". This was set during installation, I did not modify this value.

    The editors in my blog do not have this capability (according to the plugin "User Role Editor").

    I checked once again that an editor can modify a page despite of its locked state. The locked state is correctly displayed in the dashboard, and the "Quick Edit" and "Trash" items are suppressed for a locked page.

    Nevertheless, the editor can "Edit" the page and save the changes.

  4. Steve Taylor
    Member
    Posted 4 months ago #

    Well you had a typo, and I misread your words ;-) I thought the issue was that an Editor couldn't edit locked items, and needed to, not that they shouldn't edit them and could.

    Anyway, I've confirmed this bug. Never seen it before, I guess it must be WP 3.3 clashing. I'm too busy to address this right now, but I'll fix it asap. Please let me know if you manage to patch it yourself!

  5. Christian Rank
    Member
    Posted 4 months ago #

    Thanks for your feedback. In the meantime, I'll let your plugin enabled, since at least it shows that the page is locked. My editors are already instructed not to touch a page with locked status - perhaps that's enough... ;-)
    Nevertheless, I would be very glad if this bug would be fixed someday. Since I'm no specialist regarding the WordPress core, I'm not able to do it myself. :-(

Reply

You must log in to post.

About this Plugin

About this Topic

Tags