PluginProbe
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF / trunk
Imagify Image Optimization: Optimize Images | Compress & Convert to WebP/AVIF vtrunk
2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.9 2.2.8 trunk 1.10 1.3.3 1.3.4 1.3.5 1.3.5.1 1.3.5.2 1.3.6 1.3.6.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 All 103 releases
← All changes | classes/WriteFile/AbstractWriteDirConfFile.php +2 -0 2.2.8 → trunk View file →
@@ -97,8 +97,9 @@
97 97 if ( ! is_wp_error( $result ) ) {
98 98 return true;
99 99 }
100 100
101 + $file_path = $this->get_file_path();
101 102 $file_name = $this->filesystem->make_path_relative( $file_path );
102 103
103 104 if ( 'edition_disabled' === $result->get_error_code() ) {
104 105 return new \WP_Error(
@@ -303,8 +304,9 @@
303 304 return $writable;
304 305 }
305 306
306 307 $file_path = $this->get_file_path();
308 + $file_name = $this->filesystem->make_path_relative( $file_path );
307 309
308 310 if ( ! $this->filesystem->exists( $file_path ) ) {
309 311 // This should not happen.
310 312 return '';