I always use Linux on hosting and only use WAMP for development sites. The main issues I recall were related to case sensitivity when moving to Linux.
I have a question related to the recent update. Wordfence is warning that the slide-anything-frontend.php file on my website is different from that in the repository.
Original Version:
169 $slide_data['auto_height'] = $metadata['sa_auto_height'][0];
170 if ($slide_data['auto_height'] == '1') {
171 $slide_data['auto_height'] = 'true';
172 } else {
173 $slide_data['auto_height'] = 'false';
Modified Version on your WordPress system:
169 if (isset($metadata['sa_auto_height'])) {
170 $slide_data['auto_height'] = $metadata['sa_auto_height'][0];
171 if ($slide_data['auto_height'] == '1') {
172 $slide_data['auto_height'] = 'true';
173 } else {
174 $slide_data['auto_height'] = 'false';
175 }
176 } else {
177 $slide_data['auto_height'] = 'false';
178 }
It appears that lines 176, 177 & 178 duplicate lines 173, 174 & 175.
I do not understand why Wordfence is showing a difference, unless you added more code without changing the version number. Can you advise if the the version on my website is the correct one and if so, that I may delete the duplicated lines.
-
This reply was modified 6 years, 8 months ago by
Malae.
-
This reply was modified 6 years, 8 months ago by
Malae.