wp:lbb/lightbox [“cId” changes each time the Page Editor is opened
-
Greetings team. I like the functionality of this plugin and look forward to continue using it. I’d like to report a concern I’m having with the plugin I was able to identify.
ISSUE:
When opening up the WordPress editor for a Page or Post that contains this block, if you navigate away from the page without making any changes, WordPress will trigger a browser popup stating:Leave site?
Changes you made may not be saved.This is supposed to popup if there was some edit performed but you didn’t click the Update button. Since I didn’t do any edits, I found it odd to get this popup time after time.
CULPRIT:
Digging further into it and inspecting the Post Revisions, I was able to spot the auto-change that occurs:wp:lbb/lightbox {"cId":"xxxxxxxx-x"
. In this line of code, the cId number changes when the editor is simply opened. Is there a reason for that? Is it possible that this CID number can remain the same?The reason the popup warning can be annoying is because it can have you second guessing if you accidentally made any edits that you forgot about. So you can waste time inspecting the page to ensure it’s safe to either proceed with exiting or to save it just in case. These scenarios can be annoying and scary for an unsuspecting user.
Thanks for any assistance! Happy Holidays!
- The topic ‘wp:lbb/lightbox [“cId” changes each time the Page Editor is opened’ is closed to new replies.