PMC Post Savior

By Gabriel Koen

0+ active installationsVersion 1.0

Never get unexpectedly logged out when saving a post again.

Description

PMC Post Savior checks every 15 seconds to see if you’re still logged in. If you are not, it presents a pop-up window so that you can log back in without losing your work.

Github: https://github.com/Penske-Media-Corp/pmc-post-savior

WordPress.org: https://wordpress.org/extend/plugins/pmc-post-savior/

Image by The Library of Congress. See link for details.

Installation

  1. Upload the pmc-post-savior folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Why don’t you just read the cookies via javascript?

Since the auth cookies are not visible to javascript, this uses AJAX to communicate with WordPress to check the login cookies.

Why 15 seconds?

Because 1 minute is too long.

Screenshots

Changelog

1.0

  • Fix issue where login prompt didn’t show in full-screen edit mode.
  • No longer instantiate into a global. Unnecessary since the class is already a singleton. Props JJJ.

0.9

  • Initial beta release.