> Lock Pages wordpress plugin resources analysis

Lock Pages wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Lock Pages
Version 0.2.3
Author Steve Taylor
Rating 80
Last updated 2014-12-16 10:04:00
Downloads
8348
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Lock Pages plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Lock Pages plugin added 8 bytes of resources to the Home page and 18 bytes of resources to the sample Post page.

Lock Pages plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Lock Pages plugin ads no tables to your Wordpress blog database.

Sometimes some pages are too important to allow them to be casually moved about or deleted by site editors. An editor may think nothing of renaming a page's slug, or deleting a page to replace it with something similar, perhaps unaware of effects on SEO. Also, certain pages might be essential to keep in place because of a site's structure, or because of aspects of a custom theme.

This plugin lets administrators "lock" any or all pages. "Locking" here basically means preventing non-admins from:

  • Editing the page's slug
  • Changing the page's parent
  • Changing the page's template
  • Deleting the page
  • Changing the page's status
  • Changing the page's password protection

Locking is implemented by preventing the actual database update being performed as well as, where possible, having the interface element for that field removed. Where possible interface elements are removed via WP filters on the server; otherwise, jQuery is used on the client.

NOTE: Currently, I've been unable to get this working with the Quick Edit functionality. As a stop-gap measure, which is only in place because it seems to be better than nothing, the Quick Edit link is removed for users who can't edit locked pages. I know, it's not great. But until I work out how to selectively block Quick Editing, I'm assuming a locked page should be locked. Users can always edit the other fields via the normal edit page.

Development code hosted at GitHub.

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Clean and Clear screenshot

Clean and Clear

by: atrakcje

7131
100%
BlogoLife screenshot

BlogoLife

by: valeriutihai

217636
65%