We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f87acba + efd092e commit dbd430bCopy full SHA for dbd430b
src/Admin/Module.php
@@ -199,7 +199,7 @@ public function maybe_enable_proxy( $settings, $old_settings ) {
199
/**
200
* No need to run this on each update run, or when the proxy is disabled.
201
*/
202
- $settings_proxy = ( is_array( $settings ) && isset( $settings['proxy_enabled'] ) ) ? $settings['proxy_enabled'] : ( $settings['proxy_enabled'] ?? '' );
+ $settings_proxy = ( is_array( $settings ) && isset( $settings['proxy_enabled'] ) ) ? $settings['proxy_enabled'] : '';
203
$old_proxy = ( is_array( $old_settings ) && isset( $old_settings['proxy_enabled'] ) ) ? $old_settings['proxy_enabled'] : '';
204
205
if ( empty( $settings_proxy ) || ( $settings_proxy === 'on' && $old_proxy === 'on' ) ) {
0 commit comments