Commit Graph

6534 Commits

Author SHA1 Message Date
Scott Basgaard c36369010d When adding new widget instance, use isset() to make sure setting key exists and avoid notices/warnings. 2013-11-13 21:03:46 -05:00
Scott Basgaard eb91907db6 Make sure $matched is defined when calculating shipping totals and classes to avoid PHP variable undefined notices. 2013-11-13 20:53:31 -05:00
Scott Basgaard 8996af0f42 Avoid undefined variable for items when calculating totals on new order. 2013-11-13 20:48:36 -05:00
Scott Basgaard f76a5edea8 Display message when tools options have been saved. 2013-11-13 20:36:27 -05:00
thenbrent 9e80672143 Use new notice template for Shipping Updated
For #4034
2013-11-13 16:20:27 -08:00
thenbrent 3c625eba5f Use $messages variable for all notice templates 2013-11-13 16:19:59 -08:00
thenbrent a7a7a8ee08 fixup! Store all notices in 'wc_notices' array 2013-11-13 16:19:27 -08:00
thenbrent 41c1bd6b82 Use wc_print_notice() for checkout notices 2013-11-13 16:10:49 -08:00
thenbrent 8dcf86335c Introduce new wc_print_notice() function 2013-11-13 16:10:31 -08:00
thenbrent 3fa310969f Introduce new wc_get_notices() function
To replace the deprecated Woocommerce->get_messages() and
Woocommerce->get_errors() functions
2013-11-13 16:09:28 -08:00
thenbrent 376c2f26ce Store all notices in 'wc_notices' array
With 'error', 'success' & 'notice' array keys
2013-11-13 16:09:28 -08:00
thenbrent 41ba6578a0 Move notice templates into /notices/notice.php 2013-11-13 16:09:28 -08:00
Mike Jolley 02c47b2723 get_related wpdb query Closes #4086 2013-11-13 18:00:01 +00:00
Mike Jolley 2b57114a12 WC() > $woocommerce 2013-11-13 16:59:42 +00:00
Mike Jolley 197c0c76cc Only unset cookie if it exists #3513 2013-11-13 14:55:15 +00:00
Mike Jolley daea1e827c Merge pull request #4094 from robdvr/master
Ability to add custom input classes
2013-11-13 04:18:19 -08:00
Mike Jolley 044f92fe41 Merge pull request #4096 from scottbasgaard/master
Use $_product object instead of undefined $product_id for downloadable p...
2013-11-13 04:15:22 -08:00
Mike Jolley e9c38153e5 Merge pull request #4101 from franticpsyx/variation_is_visible
Fix invisible variations when get_price is filtered and set to (double) 0.
2013-11-13 04:15:04 -08:00
Mike Jolley 35fc728090 Login form hooks Closes #4059 2013-11-13 12:12:27 +00:00
Mike Jolley 2c25568e21 Filter for adding login erorrs #4059 2013-11-13 12:12:27 +00:00
Mike Jolley f1e6900359 Hooks before and after deleting order items #4059 2013-11-13 12:12:27 +00:00
Mike Jolley b116d7619d Ex tax calcs Closes #4100 2013-11-13 12:12:27 +00:00
Mike Jolley 814d21c20e Code standards 2013-11-13 12:12:27 +00:00
Mike Jolley 9c83947613 Notice on no shop page 2013-11-13 12:12:27 +00:00
Mike Jolley dbdf66aec0 Multiselect 2013-11-13 12:12:26 +00:00
Manos Psychogyiopoulos fd2a812e6d Fix invisible when get_price is filtered and set to double 0. 2013-11-13 13:58:24 +02:00
James Koster 81122c1d1c handlediv. closes #4098 2013-11-13 10:02:04 +00:00
thenbrent 001bfab44f Update calls to wc_message_count() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent 6a7a46df9e Update calls to wc_clear_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
thenbrent e14e3842b0 Update calls to wc_error_count() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent fe44f020e3 Update calls to wc_add_message() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 0d45e19fcf Update calls to wc_add_error() function
Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent f3b1679ae5 Introduce new wc_print_notices() function
To replace wc_print_messages() function.

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 3707a9d017 Introduce wc_clear_notices() function
To replace wc_clear_messages() & wc_clear_errors() functions

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 23cdafccd4 Introduce new wc_add_notice() function
To replace wc_add_message() & wc_add_error() functions.

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent b3aad6f6fe Introduce new wc_notice_count() function
To replace wc_message_count() & wc_error_count()

Part of #4034
2013-11-12 20:59:39 -08:00
thenbrent 30424feb30 Initial commit of notices.php template
Part of #4034
2013-11-12 20:59:04 -08:00
thenbrent c2646a7315 Rename message functions file for new notice API
Part of #4034
2013-11-12 20:59:04 -08:00
Scott Basgaard 8a45886a4c Use $_product object instead of undefined $product_id for downloadable permissions. Fixes #4095 2013-11-12 23:37:39 -05:00
Rob Davarnia f92f5bfe81 Ability to add custom input classes 2013-11-12 13:14:14 -08:00
Mike Jolley f7c3362e8a Update variations when the term slug changes Closes #4077 2013-11-12 20:25:26 +00:00
Mike Jolley 0edb128022 Merge pull request #4088 from jpBenfica/patch-3
Update woocommerce-pt_PT.po
2013-11-12 11:03:02 -08:00
Mike Jolley 5bfffb8554 Merge pull request #4089 from scottbasgaard/master
Update tools wp_nonce_url() to correct page.
2013-11-12 11:02:36 -08:00
Mike Jolley 0b715bdce8 Merge pull request #4091 from ragulka/estonian-translation
Update estonian translation. Fixes minor typos
2013-11-12 11:02:18 -08:00
Mike Jolley ea05881af9 Conflicts 2013-11-12 17:46:22 +00:00
Mike Jolley 3fd02a57d0 Locales - store standardised values, and display using locale in admin #3862 2013-11-12 17:43:30 +00:00
James Koster f50e741397 fix handledivs in meta boxes #4042 2013-11-12 17:01:13 +00:00
James Koster 202c16087b variations tables #4042 2013-11-12 16:50:26 +00:00
James Koster 999c250614 attributes meta box #4042 2013-11-12 16:41:29 +00:00