WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Lock Pages

Lock Pages prevents specified pages (or all pages) from having their slug, parent, status or password edited, or from being deleted, by non-administra

Known issues

  • Quick Edit presents problems. I've worked out how to create hidden fields in the Quick Edit box, and to put the values in the hidden div, but I can't work out how to dynamically populate the fields with the values, so the old values can be used if necessary on saving. For now Quick Edit is blocked for users who can't edit locked pages.
  • Although I've fixed the lock_parent function so it allows uploaded files to be attached to a locked page, it still prevents media already in the library from being attached when inserted.

Ideas

  • Include the locking checkbox for admins in the Quick Edit form.
  • On the settings screen, use a drop-down for selecting which capability is needed for editing locked page elements.
  • Implement a system to deal with descendants, e.g. an option to lock all descendants of a locked page or not.

Requires: 3.0 or higher
Compatible up to: 3.6.1
Last Updated: 2013-10-7
Downloads: 7,123

Ratings

4 stars
4.1 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
0,1.844674407371E+19,3
50,2,1
100,1,1
0,1,0
100,1,1
100,1,1 100,2,2
0,1,0
100,1,1
100,1,1
0,1,0
100,1,1