WP eCommerce - Version 3.8.9.3

Version Description

  • New: Add support for quantity field in default grid view template.
  • New: Let plugins add new column to product variation list table via filter 'wpsc_manage_product_variations_custom_column'.
  • Fix: Blank transaction results page when using paypal gateways.
  • Fix: Comment form is displayed even though comment is closed on products page.
  • Fix: Fatal error in formatting.php for some sites.
  • Fix: New countries in 3.8.9 automatically added to target market list.
  • Fix: PayPal Standard doesnt' take care of coupons.
  • Fix: Punctuation in pending transaction email.
Download this release

Release Info

Developer garyc40
Plugin Icon 128x128 WP eCommerce
Version 3.8.9.3
Comparing to
See all releases

Code changes from version 3.8.9.2 to 3.8.9.3

Files changed (160) hide show
  1. images/cc.gif +0 -0
  2. images/google_checkout.gif +0 -0
  3. images/paypal.gif +0 -0
  4. readme.txt +11 -1
  5. screenshot-1.png +0 -0
  6. screenshot-2.png +0 -0
  7. screenshot-3.png +0 -0
  8. screenshot-4.png +0 -0
  9. wp-shopping-cart.php +1 -1
  10. wpsc-admin/admin-form-functions.php +0 -0
  11. wpsc-admin/admin.php +0 -0
  12. wpsc-admin/ajax-and-init.php +0 -0
  13. wpsc-admin/ajax.php +0 -0
  14. wpsc-admin/css/admin.css +0 -0
  15. wpsc-admin/css/arrows.png +0 -0
  16. wpsc-admin/css/loading-small.gif +0 -0
  17. wpsc-admin/css/plus-minus.png +0 -0
  18. wpsc-admin/db-upgrades/routines/1.php +1 -0
  19. wpsc-admin/db-upgrades/routines/2.php +14 -3
  20. wpsc-admin/db-upgrades/routines/3.php +0 -0
  21. wpsc-admin/db-upgrades/upgrade.php +0 -0
  22. wpsc-admin/db-upgrades/views/main.php +0 -0
  23. wpsc-admin/display-coupons.php +0 -0
  24. wpsc-admin/display-update.page.php +0 -0
  25. wpsc-admin/includes/display-items-functions.php +0 -0
  26. wpsc-admin/includes/product-functions.php +0 -0
  27. wpsc-admin/includes/product-variation-list-table.class.php +5 -0
  28. wpsc-admin/includes/product-variations-manage.page.php +0 -0
  29. wpsc-admin/includes/product-variations-page.class.php +0 -0
  30. wpsc-admin/includes/product-variations-setup.page.php +0 -0
  31. wpsc-admin/includes/product-variations.page.php +0 -0
  32. wpsc-admin/includes/products.php +0 -0
  33. wpsc-admin/includes/purchase-log-list-table-class.php +0 -0
  34. wpsc-admin/includes/purchase-logs-page/bulk-delete-confirm.php +0 -0
  35. wpsc-admin/includes/purchase-logs-page/item-details.php +0 -0
  36. wpsc-admin/includes/purchase-logs-page/list-table.php +0 -0
  37. wpsc-admin/includes/purchase-logs-page/packing-slip.php +0 -0
  38. wpsc-admin/includes/settings-tabs/admin.php +0 -0
  39. wpsc-admin/includes/settings-tabs/checkout.php +0 -0
  40. wpsc-admin/includes/settings-tabs/gateway.php +0 -0
  41. wpsc-admin/includes/settings-tabs/general.php +0 -0
  42. wpsc-admin/includes/settings-tabs/import.php +0 -0
  43. wpsc-admin/includes/settings-tabs/marketing.php +0 -0
  44. wpsc-admin/includes/settings-tabs/presentation.php +0 -0
  45. wpsc-admin/includes/settings-tabs/shipping.php +0 -0
  46. wpsc-admin/includes/settings-tabs/taxes.php +0 -0
  47. wpsc-admin/includes/updating-functions.php +0 -0
  48. wpsc-admin/includes/walker-variation-checklist.php +0 -0
  49. wpsc-admin/init.php +0 -0
  50. wpsc-admin/js/product-variations.js +0 -0
  51. wpsc-admin/js/purchase-logs.js +0 -0
  52. wpsc-admin/js/set-post-thumbnail.js +0 -0
  53. wpsc-admin/js/settings-page.js +0 -0
  54. wpsc-admin/js/sortable-table.js +0 -0
  55. wpsc-admin/settings-page.php +0 -0
  56. wpsc-core/images/border.png +0 -0
  57. wpsc-core/images/controls.png +0 -0
  58. wpsc-core/images/credit_cards.png +0 -0
  59. wpsc-core/images/drag.png +0 -0
  60. wpsc-core/images/icon32.png +0 -0
  61. wpsc-core/images/loading_background.png +0 -0
  62. wpsc-core/images/menu-bits.gif +0 -0
  63. wpsc-core/images/mobile.png +0 -0
  64. wpsc-core/images/overlay.png +0 -0
  65. wpsc-core/images/social_networking/facebook.png +0 -0
  66. wpsc-core/images/toolbar.png +0 -0
  67. wpsc-core/js/jquery.infieldlabel.min.js +0 -0
  68. wpsc-core/js/tinymce3/credit_cards.png +0 -0
  69. wpsc-core/js/tinymce3/productspage.jpg +0 -0
  70. wpsc-core/js/wp-e-commerce.js +1 -5
  71. wpsc-core/js/wpsc_colorbox.css +0 -0
  72. wpsc-core/wpsc-constants.php +3 -3
  73. wpsc-core/wpsc-deprecated.php +0 -0
  74. wpsc-core/wpsc-functions.php +0 -0
  75. wpsc-core/wpsc-includes.php +0 -0
  76. wpsc-core/wpsc-installer.php +0 -0
  77. wpsc-includes/breadcrumbs.class.php +0 -0
  78. wpsc-includes/checkout-form-data.class.php +0 -0
  79. wpsc-includes/checkout.class.php +0 -0
  80. wpsc-includes/country.class.php +0 -0
  81. wpsc-includes/coupons.class.php +0 -0
  82. wpsc-includes/cron.php +0 -0
  83. wpsc-includes/currency.helpers.php +0 -0
  84. wpsc-includes/google-analytics.class.php +0 -0
  85. wpsc-includes/product-template.php +1 -1
  86. wpsc-includes/productfeed.php +0 -0
  87. wpsc-includes/purchase-log-notification.class.php +4 -4
  88. wpsc-includes/purchase-log.class.php +0 -0
  89. wpsc-includes/purchase-log.helpers.php +0 -3
  90. wpsc-includes/theme.functions.php +3 -2
  91. wpsc-includes/theming.class.php +0 -0
  92. wpsc-languages/EN_en.php +0 -0
  93. wpsc-languages/wpsc-cs_CS.mo +0 -0
  94. wpsc-languages/wpsc-cs_CS.po +0 -0
  95. wpsc-languages/wpsc-cs_CZ.mo +0 -0
  96. wpsc-languages/wpsc-cs_CZ.po +0 -0
  97. wpsc-languages/wpsc-da_DK.mo +0 -0
  98. wpsc-languages/wpsc-da_DK.po +0 -0
  99. wpsc-languages/wpsc-de_DE.mo +0 -0
  100. wpsc-languages/wpsc-de_DE.po +0 -0
  101. wpsc-languages/wpsc-es_ES.mo +0 -0
  102. wpsc-languages/wpsc-es_ES.po +0 -0
  103. wpsc-languages/wpsc-et.mo +0 -0
  104. wpsc-languages/wpsc-et.po +0 -0
  105. wpsc-languages/wpsc-fi.mo +0 -0
  106. wpsc-languages/wpsc-fi.po +0 -0
  107. wpsc-languages/wpsc-fr_FR.mo +0 -0
  108. wpsc-languages/wpsc-fr_FR.po +0 -0
  109. wpsc-languages/wpsc-hr_HR.mo +0 -0
  110. wpsc-languages/wpsc-hr_HR.po +0 -0
  111. wpsc-languages/wpsc-hu_HU.mo +0 -0
  112. wpsc-languages/wpsc-hu_HU.po +0 -0
  113. wpsc-languages/wpsc-id_ID.mo +0 -0
  114. wpsc-languages/wpsc-id_ID.po +0 -0
  115. wpsc-languages/wpsc-it_IT.mo +0 -0
  116. wpsc-languages/wpsc-it_IT.po +0 -0
  117. wpsc-languages/wpsc-ja.mo +0 -0
  118. wpsc-languages/wpsc-ja.po +0 -0
  119. wpsc-languages/wpsc-lt_LT.mo +0 -0
  120. wpsc-languages/wpsc-lt_LT.po +0 -0
  121. wpsc-languages/wpsc-nb_NO.mo +0 -0
  122. wpsc-languages/wpsc-nb_NO.po +0 -0
  123. wpsc-languages/wpsc-nl_NL.mo +0 -0
  124. wpsc-languages/wpsc-nl_NL.po +0 -0
  125. wpsc-languages/wpsc-nn_NO.mo +0 -0
  126. wpsc-languages/wpsc-nn_NO.po +0 -0
  127. wpsc-languages/wpsc-pt_BR.mo +0 -0
  128. wpsc-languages/wpsc-pt_BR.po +0 -0
  129. wpsc-languages/wpsc-ru_RU.mo +0 -0
  130. wpsc-languages/wpsc-ru_RU.po +0 -0
  131. wpsc-languages/wpsc-sv_SE.mo +0 -0
  132. wpsc-languages/wpsc-sv_SE.po +0 -0
  133. wpsc-languages/wpsc-tr.mo +0 -0
  134. wpsc-languages/wpsc-tr.po +0 -0
  135. wpsc-languages/wpsc-zh_ZH.mo +0 -0
  136. wpsc-languages/wpsc-zh_ZH.po +0 -0
  137. wpsc-languages/wpsc.pot +0 -0
  138. wpsc-merchants/paypal-standard.merchant.php +1 -0
  139. wpsc-merchants/testmode.merchant.php +0 -0
  140. wpsc-shipping/australiapost.php +0 -0
  141. wpsc-shipping/shipwire.php +0 -0
  142. wpsc-taxes/controllers/taxes_controller.class.php +0 -0
  143. wpsc-taxes/models/taxes.class.php +0 -0
  144. wpsc-taxes/taxes_module.php +0 -0
  145. wpsc-theme/functions/wpsc-transaction_results_functions.php +0 -0
  146. wpsc-theme/functions/wpsc-user_log_functions.php +0 -0
  147. wpsc-theme/wpsc-cart_widget.php +0 -0
  148. wpsc-theme/wpsc-category-list.php +0 -0
  149. wpsc-theme/wpsc-category_widget.php +0 -0
  150. wpsc-theme/wpsc-default.css +0 -0
  151. wpsc-theme/wpsc-featured_product.php +0 -0
  152. wpsc-theme/wpsc-grid_view.php +8 -0
  153. wpsc-theme/wpsc-images/bulletpoint.gif +0 -0
  154. wpsc-theme/wpsc-images/yes_stock.png +0 -0
  155. wpsc-theme/wpsc-list_view.php +0 -0
  156. wpsc-theme/wpsc-products_page.php +0 -0
  157. wpsc-theme/wpsc-shopping_cart_page.php +0 -0
  158. wpsc-theme/wpsc-single_product.php +0 -0
  159. wpsc-theme/wpsc-transaction_results.php +0 -0
  160. wpsc-theme/wpsc-user-log.php +0 -0
images/cc.gif CHANGED
File without changes
images/google_checkout.gif CHANGED
File without changes
images/paypal.gif CHANGED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://getshopped.org
4
  Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
5
  Requires at least: 3.1
6
  Tested up to: 3.4.2
7
- Stable tag: 3.8.9.2
8
 
9
  WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
10
 
@@ -155,6 +155,16 @@ Before updating please make a backup of your existing files and database. Just i
155
  After upgrading from earlier versions look for link "Update Store". This will update your database structure to work with new version.
156
 
157
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
158
  = 3.8.9.2 =
159
  * Fix: Admin cannot download file from product edit page.
160
  * Fix: Compatibility issues with Jetpack.
4
  Tags: e-commerce, wp-e-commerce, shop, cart, paypal, authorize, stock control, ecommerce, shipping, tax
5
  Requires at least: 3.1
6
  Tested up to: 3.4.2
7
+ Stable tag: 3.8.9.3
8
 
9
  WP e-Commerce is a free WordPress Shopping Cart Plugin that lets customers buy your products, services and digital downloads online.
10
 
155
  After upgrading from earlier versions look for link "Update Store". This will update your database structure to work with new version.
156
 
157
  == Changelog ==
158
+ = 3.8.9.3 =
159
+ * New: Add support for quantity field in default grid view template.
160
+ * New: Let plugins add new column to product variation list table via filter 'wpsc_manage_product_variations_custom_column'.
161
+ * Fix: Blank transaction results page when using paypal gateways.
162
+ * Fix: Comment form is displayed even though comment is closed on products page.
163
+ * Fix: Fatal error in formatting.php for some sites.
164
+ * Fix: New countries in 3.8.9 automatically added to target market list.
165
+ * Fix: PayPal Standard doesnt' take care of coupons.
166
+ * Fix: Punctuation in pending transaction email.
167
+
168
  = 3.8.9.2 =
169
  * Fix: Admin cannot download file from product edit page.
170
  * Fix: Compatibility issues with Jetpack.
screenshot-1.png CHANGED
File without changes
screenshot-2.png CHANGED
File without changes
screenshot-3.png CHANGED
File without changes
screenshot-4.png CHANGED
File without changes
wp-shopping-cart.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP e-Commerce
4
  * Plugin URI: http://getshopped.org/
5
  * Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://getshopped.org" target="_blank">GetShopped.org</a> | <a href="http://getshopped.org/forums/" target="_blank">Support Forum</a> | <a href="http://docs.getshopped.org/" target="_blank">Documentation</a>
6
- * Version: 3.8.9.2
7
  * Author: Instinct Entertainment
8
  * Author URI: http://getshopped.org/
9
  **/
3
  * Plugin Name: WP e-Commerce
4
  * Plugin URI: http://getshopped.org/
5
  * Description: A plugin that provides a WordPress Shopping Cart. See also: <a href="http://getshopped.org" target="_blank">GetShopped.org</a> | <a href="http://getshopped.org/forums/" target="_blank">Support Forum</a> | <a href="http://docs.getshopped.org/" target="_blank">Documentation</a>
6
+ * Version: 3.8.9.3
7
  * Author: Instinct Entertainment
8
  * Author URI: http://getshopped.org/
9
  **/
wpsc-admin/admin-form-functions.php CHANGED
File without changes
wpsc-admin/admin.php CHANGED
File without changes
wpsc-admin/ajax-and-init.php CHANGED
File without changes
wpsc-admin/ajax.php CHANGED
File without changes
wpsc-admin/css/admin.css CHANGED
File without changes
wpsc-admin/css/arrows.png CHANGED
File without changes
wpsc-admin/css/loading-small.gif CHANGED
File without changes
wpsc-admin/css/plus-minus.png CHANGED
File without changes
wpsc-admin/db-upgrades/routines/1.php CHANGED
@@ -141,6 +141,7 @@ function _wpsc_create_south_sudan() {
141
  'currency' => __( 'South Sudanese Pound', 'wpsc' ),
142
  'code' => __( 'SSP', 'wpsc' ),
143
  'continent' => 'africa',
 
144
  ) );
145
  $country->save();
146
  }
141
  'currency' => __( 'South Sudanese Pound', 'wpsc' ),
142
  'code' => __( 'SSP', 'wpsc' ),
143
  'continent' => 'africa',
144
+ 'visible' => 0,
145
  ) );
146
  $country->save();
147
  }
wpsc-admin/db-upgrades/routines/2.php CHANGED
@@ -62,7 +62,8 @@ function _wpsc_new_country_serbia() {
62
  'isocode' => 'RS',
63
  'currency' => __('Serbian Dinar', 'wpsc'),
64
  'code' => __('RSD', 'wpsc'),
65
- 'continent' => 'europe'
 
66
  ) );
67
  $country->save();
68
  }
@@ -77,6 +78,7 @@ function _wpsc_new_country_montenegro() {
77
  'symbol_html' => __( '&#8364;', 'wpsc' ),
78
  'code' => __( 'EUR', 'wpsc' ),
79
  'continent' => 'europe',
 
80
  ) );
81
  $country->save();
82
  }
@@ -91,6 +93,7 @@ function _wpsc_fix_timor_leste_name() {
91
  'symbol_html' => __( '&#036', 'wpsc' ),
92
  'code' => 'USD',
93
  'continent' => 'asiapacific',
 
94
  ) );
95
  $country->save();
96
  }
@@ -105,6 +108,7 @@ function _wpsc_new_country_aland_islands() {
105
  'symbol_html' => __( '&#8364;', 'wpsc' ),
106
  'code' => __( 'EUR', 'wpsc' ),
107
  'continent' => 'europe',
 
108
  ) );
109
  $country->save();
110
  }
@@ -119,6 +123,7 @@ function _wpsc_new_country_saint_barthelemy() {
119
  'symbol_html' => __( '&#8364;', 'wpsc' ),
120
  'code' => __( 'EUR', 'wpsc' ),
121
  'continent' => 'europe',
 
122
  ) );
123
  $country->save();
124
  }
@@ -132,7 +137,8 @@ function _wpsc_new_country_bonaire_et_al() {
132
  'symbol' => __( '$', 'wpsc' ),
133
  'symbol_html' => __( '&#036;', 'wpsc' ),
134
  'code' => __( 'USD', 'wpsc' ),
135
- 'continent' => 'southamerica'
 
136
  ) );
137
  $country->save();
138
  }
@@ -146,7 +152,8 @@ function _wpsc_new_country_curacao() {
146
  'symbol' => __( 'ƒ', 'wpsc' ),
147
  'symbol_html' => __( '&#402;', 'wpsc' ),
148
  'code' => __( 'ANG', 'wpsc' ),
149
- 'continent' => 'southamerica'
 
150
  ) );
151
  $country->save();
152
  }
@@ -161,6 +168,7 @@ function _wpsc_new_country_saint_martin_french() {
161
  'symbol_html' => __( '&#8364;', 'wpsc' ),
162
  'code' => __( 'EUR', 'wpsc' ),
163
  'continent' => 'southamerica',
 
164
  ) );
165
  $country->save();
166
  }
@@ -175,6 +183,7 @@ function _wpsc_new_country_palestinian_territories() {
175
  'symbol_html' => __( '&#8362;', 'wpsc' ),
176
  'code' => __( 'ILS', 'wpsc' ),
177
  'continent' => 'asiapacific',
 
178
  ) );
179
  $country->save();
180
  }
@@ -198,6 +207,7 @@ function _wpsc_new_country_sint_maarten_dutch() {
198
  'symbol_html' => __( '&#402;', 'wpsc' ),
199
  'code' => __( 'ANG', 'wpsc' ),
200
  'continent' => 'southamerica',
 
201
  ) );
202
  $country->save();
203
  }
@@ -212,6 +222,7 @@ function _wpsc_new_country_french_guiana() {
212
  'symbol_html' => __( '&#8364;', 'wpsc' ),
213
  'code' => __( 'EUR', 'wpsc' ),
214
  'continent' => 'southamerica',
 
215
  ) );
216
  $country->save();
217
  }
62
  'isocode' => 'RS',
63
  'currency' => __('Serbian Dinar', 'wpsc'),
64
  'code' => __('RSD', 'wpsc'),
65
+ 'continent' => 'europe',
66
+ 'visible' => '0',
67
  ) );
68
  $country->save();
69
  }
78
  'symbol_html' => __( '&#8364;', 'wpsc' ),
79
  'code' => __( 'EUR', 'wpsc' ),
80
  'continent' => 'europe',
81
+ 'visible' => '0',
82
  ) );
83
  $country->save();
84
  }
93
  'symbol_html' => __( '&#036', 'wpsc' ),
94
  'code' => 'USD',
95
  'continent' => 'asiapacific',
96
+ 'visible' => '0',
97
  ) );
98
  $country->save();
99
  }
108
  'symbol_html' => __( '&#8364;', 'wpsc' ),
109
  'code' => __( 'EUR', 'wpsc' ),
110
  'continent' => 'europe',
111
+ 'visible' => '0',
112
  ) );
113
  $country->save();
114
  }
123
  'symbol_html' => __( '&#8364;', 'wpsc' ),
124
  'code' => __( 'EUR', 'wpsc' ),
125
  'continent' => 'europe',
126
+ 'visible' => '0',
127
  ) );
128
  $country->save();
129
  }
137
  'symbol' => __( '$', 'wpsc' ),
138
  'symbol_html' => __( '&#036;', 'wpsc' ),
139
  'code' => __( 'USD', 'wpsc' ),
140
+ 'continent' => 'southamerica',
141
+ 'visible' => '0',
142
  ) );
143
  $country->save();
144
  }
152
  'symbol' => __( 'ƒ', 'wpsc' ),
153
  'symbol_html' => __( '&#402;', 'wpsc' ),
154
  'code' => __( 'ANG', 'wpsc' ),
155
+ 'continent' => 'southamerica',
156
+ 'visible' => '0',
157
  ) );
158
  $country->save();
159
  }
168
  'symbol_html' => __( '&#8364;', 'wpsc' ),
169
  'code' => __( 'EUR', 'wpsc' ),
170
  'continent' => 'southamerica',
171
+ 'visible' => '0',
172
  ) );
173
  $country->save();
174
  }
183
  'symbol_html' => __( '&#8362;', 'wpsc' ),
184
  'code' => __( 'ILS', 'wpsc' ),
185
  'continent' => 'asiapacific',
186
+ 'visible' => '0',
187
  ) );
188
  $country->save();
189
  }
207
  'symbol_html' => __( '&#402;', 'wpsc' ),
208
  'code' => __( 'ANG', 'wpsc' ),
209
  'continent' => 'southamerica',
210
+ 'visible' => '0',
211
  ) );
212
  $country->save();
213
  }
222
  'symbol_html' => __( '&#8364;', 'wpsc' ),
223
  'code' => __( 'EUR', 'wpsc' ),
224
  'continent' => 'southamerica',
225
+ 'visible' => '0',
226
  ) );
227
  $country->save();
228
  }
wpsc-admin/db-upgrades/routines/3.php CHANGED
File without changes
wpsc-admin/db-upgrades/upgrade.php CHANGED
File without changes
wpsc-admin/db-upgrades/views/main.php CHANGED
File without changes
wpsc-admin/display-coupons.php CHANGED
File without changes
wpsc-admin/display-update.page.php CHANGED
File without changes
wpsc-admin/includes/display-items-functions.php CHANGED
File without changes
wpsc-admin/includes/product-functions.php CHANGED
File without changes
wpsc-admin/includes/product-variation-list-table.class.php CHANGED
@@ -273,6 +273,11 @@ class WPSC_Product_Variation_List_Table extends WP_List_Table
273
  <?php
274
  }
275
 
 
 
 
 
 
276
  private function shipping_editor( $item = false ) {
277
  static $alternate = '';
278
 
273
  <?php
274
  }
275
 
276
+ public function column_default( $item, $column_name ) {
277
+ $output = apply_filters( 'wpsc_manage_product_variations_custom_column', '', $column_name, $item );
278
+ return $output;
279
+ }
280
+
281
  private function shipping_editor( $item = false ) {
282
  static $alternate = '';
283
 
wpsc-admin/includes/product-variations-manage.page.php CHANGED
File without changes
wpsc-admin/includes/product-variations-page.class.php CHANGED
File without changes
wpsc-admin/includes/product-variations-setup.page.php CHANGED
File without changes
wpsc-admin/includes/product-variations.page.php CHANGED
File without changes
wpsc-admin/includes/products.php CHANGED
File without changes
wpsc-admin/includes/purchase-log-list-table-class.php CHANGED
File without changes
wpsc-admin/includes/purchase-logs-page/bulk-delete-confirm.php CHANGED
File without changes
wpsc-admin/includes/purchase-logs-page/item-details.php CHANGED
File without changes
wpsc-admin/includes/purchase-logs-page/list-table.php CHANGED
File without changes
wpsc-admin/includes/purchase-logs-page/packing-slip.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/admin.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/checkout.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/gateway.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/general.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/import.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/marketing.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/presentation.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/shipping.php CHANGED
File without changes
wpsc-admin/includes/settings-tabs/taxes.php CHANGED
File without changes
wpsc-admin/includes/updating-functions.php CHANGED
File without changes
wpsc-admin/includes/walker-variation-checklist.php CHANGED
File without changes
wpsc-admin/init.php CHANGED
File without changes
wpsc-admin/js/product-variations.js CHANGED
File without changes
wpsc-admin/js/purchase-logs.js CHANGED
File without changes
wpsc-admin/js/set-post-thumbnail.js CHANGED
File without changes
wpsc-admin/js/settings-page.js CHANGED
File without changes
wpsc-admin/js/sortable-table.js CHANGED
File without changes
wpsc-admin/settings-page.php CHANGED
File without changes
wpsc-core/images/border.png CHANGED
File without changes
wpsc-core/images/controls.png CHANGED
File without changes
wpsc-core/images/credit_cards.png CHANGED
File without changes
wpsc-core/images/drag.png CHANGED
File without changes
wpsc-core/images/icon32.png CHANGED
File without changes
wpsc-core/images/loading_background.png CHANGED
File without changes
wpsc-core/images/menu-bits.gif CHANGED
File without changes
wpsc-core/images/mobile.png CHANGED
File without changes
wpsc-core/images/overlay.png CHANGED
File without changes
wpsc-core/images/social_networking/facebook.png CHANGED
File without changes
wpsc-core/images/toolbar.png CHANGED
File without changes
wpsc-core/js/jquery.infieldlabel.min.js CHANGED
File without changes
wpsc-core/js/tinymce3/credit_cards.png CHANGED
File without changes
wpsc-core/js/tinymce3/productspage.jpg CHANGED
File without changes
wpsc-core/js/wp-e-commerce.js CHANGED
@@ -572,11 +572,7 @@ function wpsc_set_profile_country(html_form_id, form_id) {
572
  jQuery(document).ready(function(){
573
  jQuery('.wpsc_checkout_table input, .wpsc_checkout_table textarea').each(function(){
574
  var real_value = jQuery(this).val();
575
- value = jQuery('label[for="'+jQuery(this).attr('id')+'"]').html();
576
- if(null != value){
577
- value = value.replace(/<span class="?asterix"?>\*<\/span>/i,'');
578
- }
579
-
580
  if( jQuery.fn.inlineFieldLabel )
581
  jQuery(this).inlineFieldLabel({label:jQuery.trim(value)});
582
  if(real_value != '')
572
  jQuery(document).ready(function(){
573
  jQuery('.wpsc_checkout_table input, .wpsc_checkout_table textarea').each(function(){
574
  var real_value = jQuery(this).val();
575
+ value = jQuery('label[for="'+jQuery(this).attr('id')+'"]').text();
 
 
 
 
576
  if( jQuery.fn.inlineFieldLabel )
577
  jQuery(this).inlineFieldLabel({label:jQuery.trim(value)});
578
  if(real_value != '')
wpsc-core/js/wpsc_colorbox.css CHANGED
File without changes
wpsc-core/wpsc-constants.php CHANGED
@@ -30,9 +30,9 @@ function wpsc_core_constants() {
30
  if(!defined('WPSC_URL'))
31
  define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
32
  // Define Plugin version
33
- define( 'WPSC_VERSION', '3.8.9.2' );
34
- define( 'WPSC_MINOR_VERSION', '625469' );
35
- define( 'WPSC_PRESENTABLE_VERSION', '3.8.9.2' );
36
  define( 'WPSC_DB_VERSION', 3 );
37
 
38
  // Define Debug Variables for developers
30
  if(!defined('WPSC_URL'))
31
  define( 'WPSC_URL', plugins_url( '', __FILE__ ) );
32
  // Define Plugin version
33
+ define( 'WPSC_VERSION', '3.8.9.3' );
34
+ define( 'WPSC_MINOR_VERSION', '630512' );
35
+ define( 'WPSC_PRESENTABLE_VERSION', '3.8.9.3' );
36
  define( 'WPSC_DB_VERSION', 3 );
37
 
38
  // Define Debug Variables for developers
wpsc-core/wpsc-deprecated.php CHANGED
File without changes
wpsc-core/wpsc-functions.php CHANGED
File without changes
wpsc-core/wpsc-includes.php CHANGED
File without changes
wpsc-core/wpsc-installer.php CHANGED
File without changes
wpsc-includes/breadcrumbs.class.php CHANGED
File without changes
wpsc-includes/checkout-form-data.class.php CHANGED
File without changes
wpsc-includes/checkout.class.php CHANGED
File without changes
wpsc-includes/country.class.php CHANGED
File without changes
wpsc-includes/coupons.class.php CHANGED
File without changes
wpsc-includes/cron.php CHANGED
File without changes
wpsc-includes/currency.helpers.php CHANGED
File without changes
wpsc-includes/google-analytics.class.php CHANGED
File without changes
wpsc-includes/product-template.php CHANGED
@@ -108,7 +108,7 @@ function wpsc_pagination($totalpages = '', $per_page = '', $current_page = '', $
108
  if(!get_option('permalink_structure')) {
109
  $category = '?';
110
 
111
- if(isset($wp_query->query_vars['wpsc_product_category']))
112
  $category = '?wpsc_product_category='.$wp_query->query_vars['wpsc_product_category'];
113
  if(isset($wp_query->query_vars['wpsc_product_category']) && is_string($wp_query->query_vars['wpsc_product_category'])){
114
  $page_link = get_option('blogurl').$category.'&amp;paged';
108
  if(!get_option('permalink_structure')) {
109
  $category = '?';
110
 
111
+ if( ! empty( $wp_query->query_vars['wpsc_product_category'] ) )
112
  $category = '?wpsc_product_category='.$wp_query->query_vars['wpsc_product_category'];
113
  if(isset($wp_query->query_vars['wpsc_product_category']) && is_string($wp_query->query_vars['wpsc_product_category'])){
114
  $page_link = get_option('blogurl').$category.'&amp;paged';
wpsc-includes/productfeed.php CHANGED
File without changes
wpsc-includes/purchase-log-notification.class.php CHANGED
@@ -287,8 +287,8 @@ class WPSC_Purchase_Log_Customer_Notification extends WPSC_Purchase_Log_Notifica
287
  public function get_raw_message() {
288
  $raw_message = '';
289
 
290
- if ( $this->purchase_log->get( 'processed' ) == WPSC_Purchase_Log::ORDER_RECEIVED )
291
- $raw_message = __( 'Thank you, your purchase is pending, you will be sent an email once the order clears.', 'wpsc' ) . "\n\r";
292
 
293
  $raw_message .= get_option( 'wpsc_email_receipt' );
294
  $raw_message = $this->maybe_add_discount( $raw_message );
@@ -422,8 +422,8 @@ class WPSC_Purchase_Log_Customer_HTML_Notification extends WPSC_Purchase_Log_Cus
422
  {
423
  public function get_raw_message() {
424
  $raw_message = apply_filters( 'wpsc_pre_transaction_results', '', $this );
425
- if ( $this->purchase_log->get( 'processed' ) == WPSC_Purchase_Log::ORDER_RECEIVED )
426
- $raw_message = __( 'Thank you, your purchase is pending, you will be sent an email once the order clears.', 'wpsc' ) . "\n\r";
427
 
428
  $raw_message .= get_option( 'wpsc_email_receipt' );
429
  $raw_message = $this->maybe_add_discount( $raw_message );
287
  public function get_raw_message() {
288
  $raw_message = '';
289
 
290
+ if ( ! $this->purchase_log->is_transaction_completed() )
291
+ $raw_message = __( 'Thank you, your purchase is pending. You will be sent an email once the order clears.', 'wpsc' ) . "\n\r";
292
 
293
  $raw_message .= get_option( 'wpsc_email_receipt' );
294
  $raw_message = $this->maybe_add_discount( $raw_message );
422
  {
423
  public function get_raw_message() {
424
  $raw_message = apply_filters( 'wpsc_pre_transaction_results', '', $this );
425
+ if ( ! $this->purchase_log->is_transaction_completed() )
426
+ $raw_message = __( 'Thank you, your purchase is pending. You will be sent an email once the order clears.', 'wpsc' ) . "\n\r";
427
 
428
  $raw_message .= get_option( 'wpsc_email_receipt' );
429
  $raw_message = $this->maybe_add_discount( $raw_message );
wpsc-includes/purchase-log.class.php CHANGED
File without changes
wpsc-includes/purchase-log.helpers.php CHANGED
@@ -239,9 +239,6 @@ function wpsc_get_transaction_html_output( $purchase_log ) {
239
  if ( ! is_object( $purchase_log ) )
240
  $purchase_log = new WPSC_Purchase_Log( $purchase_log );
241
 
242
- if ( ! $purchase_log->is_transaction_completed() && ! $purchase_log->is_order_received() )
243
- return '';
244
-
245
  $notification = new WPSC_Purchase_Log_Customer_HTML_Notification( $purchase_log );
246
  $output = $notification->get_html_message();
247
 
239
  if ( ! is_object( $purchase_log ) )
240
  $purchase_log = new WPSC_Purchase_Log( $purchase_log );
241
 
 
 
 
242
  $notification = new WPSC_Purchase_Log_Customer_HTML_Notification( $purchase_log );
243
  $output = $notification->get_html_message();
244
 
wpsc-includes/theme.functions.php CHANGED
@@ -415,7 +415,6 @@ function wpsc_single_template( $content ) {
415
  ob_end_clean();
416
  list( $wp_query, $wpsc_temp_query ) = array( $wpsc_temp_query, $wp_query ); // swap the wpsc_query objects back
417
  $_wpsc_is_in_custom_loop = false;
418
-
419
  }
420
 
421
  return $content;
@@ -1083,9 +1082,11 @@ function wpsc_products_page( $content = '' ) {
1083
  $product_meta = get_post_meta( $product_id, '_wpsc_product_metadata', true );
1084
 
1085
  list($wp_query, $wpsc_query) = array( $wpsc_query, $wp_query ); // swap the wpsc_query objects back
 
1086
  $_wpsc_is_in_custom_loop = false;
 
1087
  if ( ($is_single == false) || ($product_meta['enable_comments'] == '0') )
1088
- $GLOBALS['post'] = $wp_query->post;
1089
  }
1090
  $wp_query->current_post = $wp_query->post_count;
1091
  return preg_replace( "/(<p>)*\[productspage\](<\/p>)*/", $output, $content );
415
  ob_end_clean();
416
  list( $wp_query, $wpsc_temp_query ) = array( $wpsc_temp_query, $wp_query ); // swap the wpsc_query objects back
417
  $_wpsc_is_in_custom_loop = false;
 
418
  }
419
 
420
  return $content;
1082
  $product_meta = get_post_meta( $product_id, '_wpsc_product_metadata', true );
1083
 
1084
  list($wp_query, $wpsc_query) = array( $wpsc_query, $wp_query ); // swap the wpsc_query objects back
1085
+
1086
  $_wpsc_is_in_custom_loop = false;
1087
+
1088
  if ( ($is_single == false) || ($product_meta['enable_comments'] == '0') )
1089
+ wp_reset_postdata();
1090
  }
1091
  $wp_query->current_post = $wp_query->post_count;
1092
  return preg_replace( "/(<p>)*\[productspage\](<\/p>)*/", $output, $content );
wpsc-includes/theming.class.php CHANGED
File without changes
wpsc-languages/EN_en.php CHANGED
File without changes
wpsc-languages/wpsc-cs_CS.mo CHANGED
File without changes
wpsc-languages/wpsc-cs_CS.po CHANGED
File without changes
wpsc-languages/wpsc-cs_CZ.mo CHANGED
File without changes
wpsc-languages/wpsc-cs_CZ.po CHANGED
File without changes
wpsc-languages/wpsc-da_DK.mo CHANGED
File without changes
wpsc-languages/wpsc-da_DK.po CHANGED
File without changes
wpsc-languages/wpsc-de_DE.mo CHANGED
File without changes
wpsc-languages/wpsc-de_DE.po CHANGED
File without changes
wpsc-languages/wpsc-es_ES.mo CHANGED
File without changes
wpsc-languages/wpsc-es_ES.po CHANGED
File without changes
wpsc-languages/wpsc-et.mo CHANGED
File without changes
wpsc-languages/wpsc-et.po CHANGED
File without changes
wpsc-languages/wpsc-fi.mo CHANGED
File without changes
wpsc-languages/wpsc-fi.po CHANGED
File without changes
wpsc-languages/wpsc-fr_FR.mo CHANGED
File without changes
wpsc-languages/wpsc-fr_FR.po CHANGED
File without changes
wpsc-languages/wpsc-hr_HR.mo CHANGED
File without changes
wpsc-languages/wpsc-hr_HR.po CHANGED
File without changes
wpsc-languages/wpsc-hu_HU.mo CHANGED
File without changes
wpsc-languages/wpsc-hu_HU.po CHANGED
File without changes
wpsc-languages/wpsc-id_ID.mo CHANGED
File without changes
wpsc-languages/wpsc-id_ID.po CHANGED
File without changes
wpsc-languages/wpsc-it_IT.mo CHANGED
File without changes
wpsc-languages/wpsc-it_IT.po CHANGED
File without changes
wpsc-languages/wpsc-ja.mo CHANGED
File without changes
wpsc-languages/wpsc-ja.po CHANGED
File without changes
wpsc-languages/wpsc-lt_LT.mo CHANGED
File without changes
wpsc-languages/wpsc-lt_LT.po CHANGED
File without changes
wpsc-languages/wpsc-nb_NO.mo CHANGED
File without changes
wpsc-languages/wpsc-nb_NO.po CHANGED
File without changes
wpsc-languages/wpsc-nl_NL.mo CHANGED
File without changes
wpsc-languages/wpsc-nl_NL.po CHANGED
File without changes
wpsc-languages/wpsc-nn_NO.mo CHANGED
File without changes
wpsc-languages/wpsc-nn_NO.po CHANGED
File without changes
wpsc-languages/wpsc-pt_BR.mo CHANGED
File without changes
wpsc-languages/wpsc-pt_BR.po CHANGED
File without changes
wpsc-languages/wpsc-ru_RU.mo CHANGED
File without changes
wpsc-languages/wpsc-ru_RU.po CHANGED
File without changes
wpsc-languages/wpsc-sv_SE.mo CHANGED
File without changes
wpsc-languages/wpsc-sv_SE.po CHANGED
File without changes
wpsc-languages/wpsc-tr.mo CHANGED
File without changes
wpsc-languages/wpsc-tr.po CHANGED
File without changes
wpsc-languages/wpsc-zh_ZH.mo CHANGED
File without changes
wpsc-languages/wpsc-zh_ZH.po CHANGED
File without changes
wpsc-languages/wpsc.pot CHANGED
File without changes
wpsc-merchants/paypal-standard.merchant.php CHANGED
@@ -308,6 +308,7 @@ class wpsc_merchant_paypal_standard extends wpsc_merchant {
308
  }
309
 
310
  if ( $this->cart_data['has_discounts'] && ! $free_shipping ) {
 
311
  $subtotal = $wpsc_cart->calculate_subtotal();
312
  if ( $this->cart_data['cart_discount_value'] >= $wpsc_cart->calculate_subtotal() ) {
313
  $paypal_vars['discount_amount_cart'] = $this->convert( $subtotal ) - 0.01;
308
  }
309
 
310
  if ( $this->cart_data['has_discounts'] && ! $free_shipping ) {
311
+ $paypal_vars['discount_amount_cart'] = $this->convert( $this->cart_data['cart_discount_value'] );
312
  $subtotal = $wpsc_cart->calculate_subtotal();
313
  if ( $this->cart_data['cart_discount_value'] >= $wpsc_cart->calculate_subtotal() ) {
314
  $paypal_vars['discount_amount_cart'] = $this->convert( $subtotal ) - 0.01;
wpsc-merchants/testmode.merchant.php CHANGED
File without changes
wpsc-shipping/australiapost.php CHANGED
File without changes
wpsc-shipping/shipwire.php CHANGED
File without changes
wpsc-taxes/controllers/taxes_controller.class.php CHANGED
File without changes
wpsc-taxes/models/taxes.class.php CHANGED
File without changes
wpsc-taxes/taxes_module.php CHANGED
File without changes
wpsc-theme/functions/wpsc-transaction_results_functions.php CHANGED
File without changes
wpsc-theme/functions/wpsc-user_log_functions.php CHANGED
File without changes
wpsc-theme/wpsc-cart_widget.php CHANGED
File without changes
wpsc-theme/wpsc-category-list.php CHANGED
File without changes
wpsc-theme/wpsc-category_widget.php CHANGED
File without changes
wpsc-theme/wpsc-default.css CHANGED
File without changes
wpsc-theme/wpsc-featured_product.php CHANGED
File without changes
wpsc-theme/wpsc-grid_view.php CHANGED
@@ -124,6 +124,14 @@ $image_height = get_option('product_image_height');
124
  <?php endif ?>
125
  <?php if((get_option('display_addtocart') == 1) && (get_option('addtocart_or_buynow') !='1')) :?>
126
  <?php if(wpsc_product_has_stock()) : ?>
 
 
 
 
 
 
 
 
127
  <input type="submit" value="<?php _e('Add To Cart', 'wpsc'); ?>" name="Buy" class="wpsc_buy_button" id="product_<?php echo wpsc_the_product_id(); ?>_submit_button"/>
128
  <?php else : ?>
129
  <p class="soldout"><?php _e('Sorry, sold out!', 'wpsc'); ?></p>
124
  <?php endif ?>
125
  <?php if((get_option('display_addtocart') == 1) && (get_option('addtocart_or_buynow') !='1')) :?>
126
  <?php if(wpsc_product_has_stock()) : ?>
127
+ <?php if(wpsc_has_multi_adding()): ?>
128
+ <div class="quantity_container">
129
+ <label class="wpsc_quantity_update" for="wpsc_quantity_update_<?php echo wpsc_the_product_id(); ?>"><?php _e('Quantity:', 'wpsc'); ?></label>
130
+ <input type="text" id="wpsc_quantity_update_<?php echo wpsc_the_product_id(); ?>" name="wpsc_quantity_update" size="2" value="1" />
131
+ <input type="hidden" name="key" value="<?php echo wpsc_the_cart_item_key(); ?>"/>
132
+ <input type="hidden" name="wpsc_update_quantity" value="true" />
133
+ </div><!--close quantity_container-->
134
+ <?php endif ;?>
135
  <input type="submit" value="<?php _e('Add To Cart', 'wpsc'); ?>" name="Buy" class="wpsc_buy_button" id="product_<?php echo wpsc_the_product_id(); ?>_submit_button"/>
136
  <?php else : ?>
137
  <p class="soldout"><?php _e('Sorry, sold out!', 'wpsc'); ?></p>
wpsc-theme/wpsc-images/bulletpoint.gif CHANGED
File without changes
wpsc-theme/wpsc-images/yes_stock.png CHANGED
File without changes
wpsc-theme/wpsc-list_view.php CHANGED
File without changes
wpsc-theme/wpsc-products_page.php CHANGED
File without changes
wpsc-theme/wpsc-shopping_cart_page.php CHANGED
File without changes
wpsc-theme/wpsc-single_product.php CHANGED
File without changes
wpsc-theme/wpsc-transaction_results.php CHANGED
File without changes
wpsc-theme/wpsc-user-log.php CHANGED
File without changes