Popup-Maker icon indicating copy to clipboard operation
Popup-Maker copied to clipboard

Add a safe mode to help expedite troubleshooting theme and plugin conflicts

Open marklchaves opened this issue 2 years ago • 3 comments

Describe the feature request

Here's an example.

https://help.codesnippets.pro/article/12-safe-mode

Use case

Troubleshooting for theme or plugin conflicts.

Example screenshots (if any)

marklchaves avatar Mar 23 '22 01:03 marklchaves

@marklchaves can you elaborate on when this would be useful for our plugin? In their case that code lets all the admin editors still load, but not run the user saved code.

What would we need to disable that is currently interfering with debugging processes?

danieliser avatar Mar 23 '22 04:03 danieliser

Maybe Elementor's safe mode is a better example.

https://elementor.com/help/what-is-safe-mode/

The only thing that changes when Safe Mode is enabled is that the Elementor editor loading is done without any activated Plugins or Themes. Enabling Safe Mode also temporarily deactivates all Elementor Experiments.

Using ‘Safe Mode’ opens the Elementor editor on a clean version of WordPress, without loading a theme or any plugins. All plugins are deactivated and an empty theme file is loaded.

It would be nice if a Popup Maker safe mode loads only Popup Maker in a vanilla default theme with a click. With one click admins can quickly confirm if there's a theme or plugin conflict.

Just adding this to the wish list as an alternate to shuttling people off to a troubleshooting guide(s). Obviously, if this feature doesn't have potential ROI, increases code debt, or breaks WordPress, then I'm happy to close it.

Thanks!

marklchaves avatar Mar 23 '22 06:03 marklchaves

@danieliser,

Here's a proof of concept.

https://github.com/marklchaves/wp-plugin-safe-mode

(Forked from https://github.com/xwp/wp-plugin-safe-mode)

marklchaves avatar Mar 25 '22 12:03 marklchaves