| @@ -1,6 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | - $email_feedback = betterdocs()->settings->get( 'email_feedback' ); | |
| 2 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- view template receives variables via extract(); prefixing is impractical. | |
| 3 | + | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | +$email_feedback = betterdocs()->settings->get( 'email_feedback' ); | |
| 3 | 8 | |
| 4 | 9 | if ( ! $email_feedback ) { |
| 5 | 10 | return; |
| 6 | 11 | } |