File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -471,10 +471,12 @@ function wp_cache_manager_error_checks() {
471471 return false ;
472472 }
473473
474+ // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.safe_modeDeprecatedRemoved -- Version is checked before access.
474475 if ( PHP_VERSION_ID < 50300 && ( ini_get ( 'safe_mode ' ) === '1 ' || strtolower ( ini_get ( 'safe_mode ' ) ) === 'on ' ) ) { // @codingStandardsIgnoreLine
475476 echo '<div class="notice notice-error"><h4> ' . esc_html__ ( 'Warning! PHP Safe Mode Enabled! ' , 'wp-super-cache ' ) . '</h4> ' ;
476477 echo '<p> ' . esc_html__ ( 'You may experience problems running this plugin because SAFE MODE is enabled. ' , 'wp-super-cache ' ) . '<br /> ' ;
477478
479+ // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.safe_mode_gidDeprecatedRemoved -- Version is checked before access.
478480 if ( ! ini_get ( 'safe_mode_gid ' ) ) { // @codingStandardsIgnoreLine
479481 esc_html_e ( 'Your server is set up to check the owner of PHP scripts before allowing them to read and write files. ' , 'wp-super-cache ' );
480482 echo '<br /> ' ;
You can’t perform that action at this time.
0 commit comments