| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | * @return string|null |
| 15 | 15 | */ |
| 16 | 16 | function imagify_flywheel_site_root( $root_path ) { |
| 17 | 17 | if ( ! empty( $_SERVER['DOCUMENT_ROOT'] ) ) { |
| 18 | - return trailingslashit( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ); | |
| 18 | + return trailingslashit( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized | |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | $upload_basedir = imagify_get_filesystem()->get_upload_basedir( true ); |
| 22 | 22 | |