Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Question about WP updater
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 21, 2012 - 7:50 pm

Does the updater only update files that have been changed since the previous version? I have one core file that I have had to modify outside of my theme, namely 'sp-group-view-functions.php'. Will it be overwritten if I upgrade from 5.0 to 5.0.3?

If I save the file and then upload it after upgrade will it still work with 5.0.3 or will I have to do a code compare?

Regards

Conrad

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 21, 2012 - 8:06 pm

The WP updater currently replaces all code. It removes the current code first. The have been talking about making it a changed file only update at some stage but it is not with us yet.

Your problem may come if we also need to make changes to the same file(s) so yes - a compare would be sensible practice. Many editors can do this easily and some are mentioned in this codex article - http://codex-simple-press.com/.....p-to-date/

andy-signature.png
YELLOW
SWORDFISH
Avatar
Conrad_Farlow
Sheffield, UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 21, 2012 - 8:10 pm

OK thanks for the speedy response. I use notepad ++ which has a compare plugin so no big deal. Well I suppose that I'll push the button for the first time then eek

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626