• Resolved devitate

    (@devitate)


    Your plugin seems to WSOD if anyone else wants to define WP global variables – not cool.
    I think if you simply checked defined first we could avoid this problem.

    This would be in your generated code in wp-config.php
    if (!defined('DISALLOW_FILE_EDIT')) {
    define( 'DISALLOW_FILE_EDIT', true );
    }

Viewing 1 replies (of 1 total)
  • Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @devitate, glad you reached out, and we appreciate your feedback and suggestion.

    Our team has looked into this before and determined that while we want this fixed, the challenge lies in how our settings UI works. If we check before adding, we risk not defining it when needed.

    That said, I’m sure we can explore ways to improve compatibility while maintaining reliability if we receive more requests for this, so for now, I’ve added it as a feature request here. Please add your vote there and comment if my entry doesn’t cover all the use cases you imagined for this feature.

    Thank you for helping us make our plugin better!

Viewing 1 replies (of 1 total)

The topic ‘define(“WSOD issue”)’ is closed to new replies.