wp_check_post_lock in content-single.php
-
Ohai!
I’ve been looking all over for a plugin that does this. But with no luck.
When a post is published and being edited, I’d like to tell my visitors that “the post is being edited”. I found the wp_check_post_lock function, which is included in content-single.php. See my github:
https://github.com/dunderrrrrr/wp_check_post_lock/blob/master/wp_check_post_lock.php
This works fine. However, is it possible that it’s a security problem? Exploits? XSS maybe? I only know the basics of WordPress, and to me it looks all fine.
What do you experts say? 🙂
Have a nice day!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘wp_check_post_lock in content-single.php’ is closed to new replies.