Added lock to permalink if entry/post was published
Merge pull request #111 from GunnarLieb/development

Added lock to permalink if entry/post was published