Aggiornamenti Febbraio 2014

Come ogni mese, ecco un resoconto degli aggiornamenti che sono stati mandati in produzione sul network nello scorso mese…

WordPress 3.8.1

Una release minore, WordPress 3.8.1 contiene i numerosi aggiustamenti che seguono le cosiddette release maggiori (lo scorso mese era infatti uscito WordPress 3.8).

Il bug (errore) più fastidioso corretto in questa ultima versione è quello che costringeva, in alcuni casi, a premere più volte un pulsante perché questo funzionasse.

Un altra correzione importante è stato l’aggiornamento del codice che si interfaccia con Twitter, e che permette l’inserimento su pagine e/o articoli di un flusso di tweet in maniera automatica.

Ci sono inoltre una serie di miglioramenti più tecnici, che puoi leggere qui (in inglese).

[divider]

MarketPress 2.9.2.1

MarketPress è la nostra soluzione di E-Commerce di base e la usiamo principalmente per i negozi più piccoli: questo mese la lista delle novità è abbastanza graned:

  • E’ stata introdotta la possibilità di crerare dei coupon di sconto validi solo per alcuni prodotti o per alcune categorie
  • E’ stata aggiunta la compatibilità con Google Universal Analytics (un nuovo sistema di statistiche avanzato a cui passeremo molto presto)
  • E’ stata migliorata la compatibilità con Pinterest per le schede dei prodotti
  • E’ stata aggiunta la possibilità di mostrare dei prodotti correlati per categoria o per tag
  • E’ stata aggiunta la possibilità per i clienti di scegliere l’opzione di spedizione “Ritiro in Negozio
  • E’ stata aggiunta la possibilità di assegnare un limite di acquisto per ordine per un determinato prodotto
  • E’ stata aggiunta la possibilità, nelle liste dei prodotti, di mostrare dei filtri per cambiare l’ordine e la selezione dei prodotti. e per mostrare la paginazione.

[divider]

Gravity Forms

gravityforms-home-screenshots

Il plugin per la gestione dei moduli Gravity Forms ha visto invece il passaggio di una release maggiore, dalla 1.7 alla 1.8.4.

Ora il plugin ha piena compatibilità con la funziona “Heart Beat” di WordPress, che permette di vedere se qualche altro utente sta modificando un modulo in modo da evitare che ci si intralci con i lavori (molto utile nelle occasioni in cui diverse persone lavorano sul sito).

E’ stato poi introdotto un “cestino” per i moduli in modo che sia possibile recuperarli anche dopo un (accidentale) eliminazione, nonché una nuova ricerca avanzata che permette di filtrare in vari modi i messaggi ricevuti tramite i form.

Infine, è stato (finalmente!) aggiunto un campo che permette l‘upload di più files contemporaneamente.

[toggle title=”Consulta il Changelog Completo”]

  • Added “gform_footer_init_scripts_filter” hook to support filtering the footer init scripts string.
  • Added support for custom wp-includes directory.
  • Updated setup to run only in admin for single site installations and always on multisite.
  • Updated Google Font includes to be protocol-less.
  • Updated conditional logic to handle the “Other” choice for radio buttons.
  • Updated INACTIVE trim values setup script to ACTIVE. All leading and trailing spaces are now stripped from all previous entry values, field labels, choice texts, choice values, input labels and conditional logic rule values for fields, notifications and confirmations.
  • Updated the form editor, form importer, notification editor and confirmation editor to trim leading and trailing spaces from all labels, choices values and conditional logic values on save/import.
  • Updated GFFormDisplay::print_form_scripts() to print all scripts at once rather than printing individually.
  • Updated GFFormsModel::update_lead_property() to return the result of the $wpdb->update() call.
  • Updated Credit Card field’s Security Code input to use “type=’text'” and “pattern='[0-9]*’ when in HTML5 mode (rather than “type=’number'”).
  • Updated location of gform_form_actions hook so that actions can be filtered when in the trash page.
  • Updated the entry search criteria to support times in the start_date and end_date.
  • Updated GFFormsModel::get_form to optionally allow returning a trashed form.
  • Fixed issue with number field not properly formatting numbers on the entry edit page and on the individual field merge tag.
  • Fixed issue with export start and end dates.
  • Fixed issue with entry list trash view where entry row remains in the list after deleting when a fileupload field in the entry is empty.
  • Fixed issue with deleting entries on multisite installs where files uploaded using the fileupload field aren’t deleted if the site ms_files_rewriting option is not set. This issue affects all new multisite installations of WordPress created after the release of WordPres 3.5.
  • Fixed issue with number field configured with the 9.999,99 format displaying browser validation errors when HTML5 is enabled.
  • Fixed issue with list field export where “Array” was being displayed under certain conditions.
  • Fixed warning thrown in rewrite_rules function when using array_merge with a parameter that wasn’t an array
  • Fixed issue with dates used when exporting entries.
  • Fixed number field validation when currency format is specified.
  • Fixed issue with how spaces in post image file names were being replaced.
  • Fixed notices when Post Image field with enabled Title, Description, and/or Caption were submitted without values.
  • Fixed styling issue with checkboxes on entry notes.
  • Fixed number field input type.
  • Fixed JS error on form editor when user refreshes the page with the scrollbar lower than the top of the page.
  • Fixed left margin of conditional logic instructions when label position is set to left-aligned.

API Updates in Gravity Forms v1.8.4

  • Added support for PUT entries/{entry ID}/properties so entry properties (is_read, is_starred etc) can be updated individually.
  • Added GFAPI::update_form_property() and GFAPI::update_forms_property() so form properties from the main forms table (is_trash, is_active etc) can be updated individually.
  • Added support for PUT forms/{form ID}/properties.
  • Added GFAPI::update_entry_property() to update a single property of an entry.
  • Updated the QR Code to include the site title.
  • Updated GFAPI::add_entry() to return an error if the entry object is not an array.
  • Fixed authentication for multisite installations.
  • Fixed loading of scripts on the API settings page when using SSL.
  • Fixed GFAPI::update_entry() to update the entry status.

Add-On Framework Updates in Gravity Forms v1.8.4

  • Added support for “dynamic_field_map” field setting.
  • Added icon support to form editor top toolbar.
  • Added support for displaying an icon next to the form settings page title.
  • Added support for displaying an icon next to the plugin settings page title.
  • Added support for configuring a form settings page title (using first section as default).
  • Added support for configuring the “No items” message as well as forcing any message to be displayed in the feed list.
  • Added support for “requires credit card” setting in the Payment Add-On to be used by payment gateways that require a credit card field on the form.
  • Added replace_field() method to replace a field by name in a given $settings array.
  • Added get_field() method to retrieve a field by name in a given $settings array.
  • Updated get_feed() method to return false if no feed is found instead of a non-empty array.
  • Updated get_payment_choices() from private to public.
  • Updated the feed add-on feed_condition field to trim values before saving.
  • Updated payment add-on to better handle different payment actions.
  • Updated payment add-on get_webhook_url() to use simpler callback parameter.
  • Updated default icon for the Results menu.
  • Updated Payment Add-On default settings so that it is easier to add feed settings under the “Other” section.
  • Updated field_map settings field type so that it is available from GFAddon instead of GFFeedAddOn.
  • Fixed issue with subscription cancellation.
  • Fixed results calculation loop to allow add-ons to add custom data to the field_data element. Fixes an issue with the Quiz Add-On correct/incorrect numbers for > 150 entries.

1.83

  • Added new filter “gform_post_category_choices” to alter post category choices sort order. Both globally and form id + field id specific.
  • Added INACTIVE setup script to trim leading and trailing spaces from all entry values, field labels, choice texts, choice values and input labels. Uncomment line 503 to test.
  • Updated GFFormDetail::add_field() to json_encode the field markup before sending it back to the form editor.
  • Updated GFCommon::calculate() to replace multiple spaces and new lines with a single space.
  • Updated the File Upload field to use the https protocol in links to file downloads when the entry detail and entry edit pages are using SSL.
  • Fixed issue with “No duplicates” option displaying on multi-select fields.
  • Fixed an issue with conditional logic failing and some fields not retaining values after validation and changing page with field choices having leading or trailing spaces.
  • Fixed missing delete icon on the entry edit page.
  • Fixed a PHP warning on form submission with unsaved imported forms with post fields.
  • Fixed inconsistent permission allowing users to import forms without edit form permission.
  • Fixed issue where empty fileupload fields were being displayed in the entry detail, entry print page and {all_fields] merge tag.
  • Fixed intermittent fatal error calling get_plugins().
  • Fixed missing gform_pre_enqueue_scripts hook causing conflict with Picatcha.
  • Fixed the gform_filters_get_users filter.
  • Fixed missing ‘;’ on gformInitCurrencyFormatFields() init script.
  • API Updates in Gravity Forms v1.8.3
  • API: Updated GFWebAPI::end() to public static so it can be used by add-ons.
  • API: Added gformwebapi$METHOD$COLLECTION and gform_webapi$METHOD$COLLECTION1$COLLECTION2 actions.
  • API: Removed gformwebapi$METHOD$COLLECTION and gform_webapi$METHOD$COLLECTION$COLLECTION2 filters.

1.8.2

  • Added JS filter: “gform_calculation_result” to allow modifying the calculated result.
  • Added JS filter: “gform_calculation_format_result” to allow user to override default formatting to calculated result.
  • Fixed issue where function setup_site had been changed to setup_database but code not updated; caused fatal error to be thrown.
  • Fixed issue where formatted calculation result was always used even if none was returned.
  • Fixed issue where datepicker was displaying below WP content.
  • Fixed issue where notification edit page was “busting out” of the WP wrapper.
  • Fixed issue where using decimal values from drop downs (and other fields) resulted in ignored decimals.
  • Fixed issue with ReCAPTCHA field throwing Javascript errors when tab index wasn’t defined.

1.8

  • Added the gform_webapi_get_users_settings_page filter to allow the user list to be filtered on the API settings page.
  • Added the gform_filters_get_users filter to allow the user list to be filtered in the field filters.
  • Added logging statements for single file upload fields on single page forms and last page of multi-page forms.
  • Fixed issue with gform_display_add_form_button filter.
  • Fixed issue with state validation failing on product names with leading or trailing spaces.
  • Fixed notices thrown in the clean_up_files function.
  • Fixed an issue on the settings where a valid license key appears incorrectly as invalid for up to 24 hours after updating to version 1.8.
  • Fixed an issue on the confirmation edit page when a conditional logic rule value contains an apostrophe.
  • Fixed an issue with the multi-file upload field when used on more than one page of a multi-page form and when the max number of files is set.
  • Fixed JavaScript error when form contains a currency format number field but no calculation.
  • Fixed the missing edit columns icon on the entry list.
  • Fixed undefined index notice isRequired in GFFormDisplay::get_field_content().
  • Fixed the localization of the select files button in the multi-file upload field.
  • Removed the gform_webapi_max_accounts_settings_page filter.
  • Removed the gform_filters_max_user_accounts filter.

[/toggle]

[divider]

WooCommerce

Anche la nostra soluzione di E-Commerce più avanzata ha ricevuto un po’ di aggiornamenti nelle sue varie componenti.

WooCommerce MultiLingua

Pacchetto che permette la gestione del negozio multilingua, ha visto una serie di miglioramenti del pannello di traduzione dei prodotti, oltre all’aggiunta della possibilità di avere il negozio in valute differenti (funzionalità questa ancora in fase sperimentale).

Inoltre è stata introdotta la compatibilità con WooCommerce 2.1 (di prossima uscita).

Table Rate Shipping

Aggiustamento di alcuni bachi e compatibilità con WooCommerce 2.1.

0 commenti

Lascia un Commento

Vuoi partecipare alla discussione?
Sentitevi liberi di contribuire!

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *