Home › Forum › Plugin e temi di WP › Aggiornare Woocommerce in sicurezza
-
AutorePost
-
-
23 Settembre 2014 alle 11:24 #28037webmasterxxxPartecipante
Ciao a tutti, siccome c’è un nuovo aggiornamento importante di Woocommerce che mi passerà dalla versione 2.1.12 alla 2.2.4, sarei intenzionato a farlo.
Ma prima di procedere volevo chiedervi alcune cose. Facendo questo aggiornamento mi si cancelleranno tutte le modifiche apportate a wordpress tipo la grandezza e il colore dei caratteri dei prezzi.
Inoltre Che consigli mi date per aggiornare il plugin senza aver problemi?
-
23 Settembre 2014 alle 13:08 #113686elmaniseroPartecipante
Se non riesci a riprodurlo in un ambiente di prova, fai gli stessi backup di quando si aggiorna wordpress, nel caso ci fossero problemi puoi ritornare alla situazione precedente.
-
23 Settembre 2014 alle 14:44 #113693webmasterxxxPartecipante
Se non riesci a riprodurlo in un ambiente di prova, fai gli stessi backup di quando si aggiorna wordpress, nel caso ci fossero problemi puoi ritornare alla situazione precedente.
http://docs.woothemes.com/document/upgrade-instructions/
ma per quanto i riguarda le modifiche sui codici di wordpress dovrebbero rimanere?
mentre per il backup basta che vado sul php my admin e mi copio tutto l’sql giusto?
grazie ancora:)
-
23 Settembre 2014 alle 15:14 #113694SteveAglAmministratore del forum
Definire “modifiche sui codici di wordpress”
-
23 Settembre 2014 alle 15:19 #113695webmasterxxxPartecipante
Definire “modifiche sui codici di wordpress”
scusami ho sbagliato a scrivere… mi riferivo sempre a woocommerce e sulle modifiche apportate ad alcune pagine comprese le modifiche sui caratteri dei prezzi ai prodotti
-
23 Settembre 2014 alle 16:33 #113696elmaniseroPartecipante
Da come scrivi non penso che tu abbia modificato nessun codice del plugin ma ti riferisci solo al settaggio che dovrebbe restare tale.
Per i backup apri e leggi quel link che ti ho messo e che hai inutilmente quotato.
-
23 Settembre 2014 alle 16:38 #113697webmasterxxxPartecipante
Da come scrivi non penso che tu abbia modificato nessun codice del plugin ma ti riferisci solo al settaggio che dovrebbe restare tale.
Per i backup apri e leggi quel link che ti ho messo.
per modificare il colore e la grandezza dei caratteri dei prezzi non ci sta l’opzione che permette di farlo, e per questo ho dovuto fare delle modifiche sia dal php che sul file css di woocommerce
-
23 Settembre 2014 alle 16:53 #113698elmaniseroPartecipante
Perderai tutto quello che hai modificato.
-
23 Settembre 2014 alle 16:54 #113699webmasterxxxPartecipante
Aggiornamento effettuato dopo aver fatto tutti i backup…comunque sembra che sia rimasto tutto come prima.
-
23 Settembre 2014 alle 17:02 #113700TittiModeratore
@webmasterxxx, se hai modificato dei file del plugin non può essere rimasto tutto come prima, in quanto i nuovi file sovrascrivono quelli vecchi.
Dovrai rimettere su i file che hai modificato tu, a meno che quei file non siano stati cambiati dall’autore, e in tal caso dovrai rifare le modifiche manualmente.
Non è un buon sistema, le modifiche CSS le devi fare nel child theme e le modifiche PHP ai plugin si fanno meno possibile oppure se si può si crea un plugin.
-
23 Settembre 2014 alle 17:28 #113701webmasterxxxPartecipante
@webmasterxxx, se hai modificato dei file del plugin non può essere rimasto tutto come prima, in quanto i nuovi file sovrascrivono quelli vecchi.
Dovrai rimettere su i file che hai modificato tu, a meno che quei file non siano stati cambiati dall’autore, e in tal caso dovrai rifare le modifiche manualmente.
Non è un buon sistema, le modifiche CSS le devi fare nel child theme e le modifiche PHP ai plugin si fanno meno possibile oppure se si può si crea un plugin.
Si infatti una piccola modifica l’ho trovata… avevo modificato il campo sotto a note ordine in scrivi il tuo messaggio sul biglietto per il tuo regalo ed ora è ritornato come prima.
Per quanto riguarda i child theme potresti spiegarmi cosa sarebbero e a cosa servono, perchè ne ho sentito spesso parlare ma non ho mai capito la loro funzione.
Grazie mille e buona serata.
-
23 Settembre 2014 alle 17:57 #113702TittiModeratore
Principalmente lo si fa per mettere in sicurezza il tema, ma nel foglio stile del child si può sovrascrivere anche lo stile di uno o più plugin, dipende però da come quel/quei plugin gestiscono il loro stile.
-
26 Settembre 2014 alle 6:19 #113766ndriniPartecipante
Si infatti una piccola modifica l’ho trovata… avevo modificato il campo sotto a note …
Non capisco come ti siano potute rimanere le modifiche sei hai aggiornato il plugin.
Andrea
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.