Commit Graph

397 Commits

Author SHA1 Message Date
Mike Jolley b1ec4b289a Nuked whitespace. Closes #1846. 2012-11-27 16:22:47 +00:00
Mike Jolley 0361a2f0cb Settings API tweaks.
Uses same names as the settings API for gateways which Closes #1848.
Allows a single level of array based IDs for options which Closes #1826.
Related to #1826 this is now used for image size settings.
2012-11-27 15:39:32 +00:00
Coen Jacobs 3f5a4fbe9e Do not use wpdb->prepare without param arg. Closes #1717
Starting WordPress 3.5, wpdb->prepare should always have a second param
to discourage improper use:
https://core.trac.wordpress.org/changeset/22429 props @spencerfinnell
2012-11-26 11:03:47 +01:00
Coen Jacobs 13f6ec9b29 Moved WC_Abstract to abstracts folder 2012-11-22 15:04:15 +01:00
Coen Jacobs 6ba6e410e5 Moved Product Factory class instance to WC global instance 2012-11-22 14:00:25 +01:00
Coen Jacobs b2a868301c Simplified version of Product Factory using an args array 2012-11-22 12:37:41 +01:00
Coen Jacobs 93cddbaa16 Abstract main product class, added simple product class 2012-11-22 11:22:18 +01:00
Mike Jolley 75ca794bba Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
Coen Jacobs 22afc34052 Reverted changes for manual category count. Ref: #1789 2012-11-19 15:39:27 +01:00
Mike Jolley 51bf586fd7 Widget wrap and tweaks. #1768. 2012-11-15 17:46:24 +00:00
Mike Jolley ec1377dfd2 error fix 2012-11-15 17:30:38 +00:00
Brian Feister 7c7c6a4326 Hotfix for namespacing issue #1749. Turns out `.woocommerce-pge` is the global namespace, not `.woocommerce`. 2012-11-15 11:39:41 -05:00
Mike Jolley 58c5bbef55 Merge pull request #1749 from brianfeister/classname-fix
Fix common css class name / namespace pollution issue
2012-11-15 08:10:29 -08:00
Mike Jolley 8986da2ec2 This is fixed in iO6, so just show an alert when nothing matches. Closes #1737. 2012-11-14 15:38:56 +00:00
Brian Feister 6aabdef3e6 Fix common css class name / namespace pollution issue and add a $wrapper parameter to the `shortcode_wrapper()` helper function with a default of `div.woocommerce`. Line 1601 2012-11-13 18:42:10 -05:00
Brian Feister 506c2bfc12 Make syntax more concise and add option to pass FALSE to function to disable wrapping. 2012-11-13 18:32:14 -05:00
Brian Feister dedc3fd0a4 Add a $wrapper parameter to the `shortcode_wrapper()` helper function with a default of `div.woocommerce`. Line 1601 2012-11-13 18:22:53 -05:00
Mike Jolley 7a055f5296 Change class handling for country. Closes #1683. 2012-11-06 11:49:49 +00:00
Mike Jolley aef47868fa Merge branch 'Line-items-data-tweak' 2012-10-24 17:53:44 +01:00
Mike Jolley a03444e7ed Fix JS code escape 2012-10-23 18:21:11 +01:00
Coen Jacobs 9ecb20f259 [3.2.5] SQL injection #1575 2012-10-18 15:37:04 +02:00
Coen Jacobs 9769b8851f [3.2.4] Sanitization #1575 2012-10-18 12:33:52 +02:00
Mike Jolley aef75800c9 Update/install code + revised notices. 2012-10-18 10:33:06 +01:00
Mike Jolley 9ec5090356 esc_js alternative 2012-10-17 16:42:57 +01:00
Mike Jolley 98b21a4a44 Split up scripts. #1575. 2012-10-17 14:32:31 +01:00
Coen Jacobs 263139e173 [3.2.3] XSS #1575 2012-10-16 15:35:17 +02:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Mike Jolley 596c408c27 Pagination + sorting tweaks, new active filters widget, sort both directions for price, fix for #coenfail. Closes #771. 2012-10-14 13:06:41 +01:00
Mike Jolley 20d7e9b54f admin url relative 2012-10-12 12:57:08 +01:00
Mike Jolley 0b36adaed5 Stop transient death. 2012-10-11 10:22:03 +01:00
Mike Jolley c023a64e36 readme 2012-10-10 15:37:24 +01:00
Mike Jolley 9505e5d63f Better permalink settings. Closes #1579. 2012-10-10 10:21:04 +01:00
Coen Jacobs e159952841 Setting for product post type slug
- New priority in slug generation: Shop base (if checked), custom slug
(if entered), pick default (translatable) 'product'
- Related to: #1579
2012-10-09 18:09:11 +02:00
Mike Jolley 5868b63b93 Ordering options. Closes #1166. 2012-10-09 15:57:06 +01:00
Coen Jacobs e87ea2022b Manual prod_cat counting to hide hidden products from counters
- Uses update_count_callback argument for manual counting function
- Filters on get_terms and updates counters
- Closes #1449
2012-10-09 15:16:36 +02:00
Mike Jolley ee36465b70 Mailer() tweak. Closes #1521. 2012-09-30 20:15:39 +01:00
Mike Jolley b88c6e62f7 Load sessions before customer class. Closes #1545. 2012-09-30 20:11:32 +01:00
Mike Jolley 33c3dd5573 Filters for post type definition. For #1515. 2012-09-21 17:01:22 +01:00
Mike Jolley 66cf7d8e98 More capabilities. Closes #1083. 2012-09-20 16:35:15 +01:00
Mike Jolley 1b4130bc56 new email interface + plain text versions 2012-09-17 11:36:30 +01:00
Coen Jacobs 0833e00a63 Set session methods as default for all implementing classes 2012-09-12 16:21:13 +02:00
Coen Jacobs b392011a7b Offer way to override the session class
* Added abstract class to implement
* Implementing class is default
* Filter to replace the instance of the default class
2012-09-12 15:45:47 +02:00
Mike Jolley e9f0a8612f Made paypal use wc-api for IPN 2012-09-12 13:36:34 +01:00
Mike Jolley 5019700d79 more sessions 2012-09-07 19:28:30 +01:00
Mike Jolley fdd34e5c0e session -> transient WIP 2012-09-07 18:26:13 +01:00
Ryan Berry 6f26e25c5d Prefixing jquery-plugins script enqueue
Just spent 4 hours trying to find the cause of a javascript exception,
turns out the woocommerce enqueue name was the same as mine and these
weren't being enqueued. "jquery-plugins" can't be uncommon so a prefix
should be used to save headaches.
2012-09-07 14:43:58 +08:00
Mike Jolley e19505c6ab checkout loading tweak 2012-09-03 16:45:09 +01:00
Manos Psychogyiopoulos a319c80639 Back end filters for attribute labels and variation options ( for translation plugins - filter names same as in variable.php ) 2012-08-28 13:48:02 +03:00
Coen Jacobs 28b4289be0 Version bump 1.6.5.1 2012-08-25 20:57:38 +02:00
Mike Jolley 01c00bd029 version bumpage 2012-08-25 11:11:45 +01:00
Mike Jolley b450616848 woocommerce_ajax_loader_url 2012-08-25 10:32:14 +01:00
Mike Jolley 5e78e897c7 check_jquery 2012-08-25 09:47:36 +01:00
Mike Jolley fe2c407f2f Appended version to scripts to prevent cache issues upon upgrade 2012-08-24 18:34:31 +01:00
Mike Jolley 02b88b23b9 get_allowed_country_states() function. Closes #1407. 2012-08-22 16:13:58 +01:00
Mike Jolley 07b6b6d59a More class docs 2012-08-14 23:43:54 +01:00
Mike Jolley f03eec03a8 Ajax docs 2012-08-14 23:43:54 +01:00
Mike Jolley 5b007d4918 Function docs. 2012-08-14 23:43:53 +01:00
Mike Jolley 90b61d61ef More api docs 2012-08-14 23:43:53 +01:00
Mike Jolley 806a6fb159 Lots of documentation 2012-08-14 23:43:53 +01:00
Mike Jolley 402799c0eb Fix JS enqueue. Closes #1365. 2012-08-12 13:15:27 +01:00
Mike Jolley d351240e6a Hide variations from frontend 2012-08-10 15:24:01 +01:00
Mike Jolley 6d5b9991d3 version bump 2012-08-10 14:21:10 +01:00
Mike Jolley 9be866b7a1 remove attachment rewrite 2012-08-09 11:50:15 +01:00
Mike Jolley 1217228bda Additonal hooks 2012-08-08 16:57:36 +01:00
Mike Jolley 2c9fa0ccf0 Version 2012-08-07 09:38:12 +01:00
Mike Jolley eb532c342c add rewrite rule for attachments. Closes #875. 2012-07-31 14:56:30 +01:00
Mike Jolley b552e41f60 Tweak menu names. 2012-07-26 15:33:02 +01:00
Mike Jolley 8cdc3738c2 Removed session_name. Closes #1291. 2012-07-25 19:20:21 +01:00
Mike Jolley 6d7e06b500 Better caching support + mini-cart template 2012-07-25 18:59:12 +01:00
Mike Jolley ffb34fdc83 Fix up orders when not in a submenu 2012-07-23 13:56:05 +01:00
Mike Jolley 811c1bdcbb Version 2012-07-19 19:41:03 +01:00
Mike Jolley 08ae311d43 HTTP_X_FORWARDED_PROTO 2012-07-18 18:07:39 +01:00
Mike Jolley 1be0b9f8f2 Backorder handling. Closes #835. 2012-07-17 19:11:14 +01:00
Mike Jolley 6fe7e831b2 Set session_name to avoid conflicting sessions across installs. Closes #1217. 2012-07-17 16:01:01 +01:00
Mike Jolley 30b8ddaf1d Split up frontend scripts so they can be loaded when needed. 2012-07-17 15:09:18 +01:00
James Collins 8fd4b636af 1.6.0 beta 1 version number updates
Corrects deprecated function version number, and plugin version number.
2012-07-17 12:54:42 +10:00
Mike Jolley 939d835b3e edit_users. Closes #1179. 2012-07-11 19:37:33 +01:00
Mike Jolley 1910f4a4f7 Coupon usage counts on cancell. Closes #1210. 2012-07-10 16:52:52 +01:00
Mike Jolley 96a522bc82 template_redirect 2012-06-29 16:38:00 +01:00
Mike Jolley b373a82de2 moved checkout buffer function 2012-06-28 12:19:54 +01:00
Mike Jolley c9ddba1e35 Hooks for stripe 2012-06-19 19:09:51 +01:00
Mike Jolley 99c859ca30 Small save bug with Mijireh 2012-06-14 17:25:49 +01:00
Coen Jacobs d253181f79 Code style fixes, changed space use around arguments 2012-06-14 12:08:50 +02:00
Mike Jolley 10f5a48a33 space 2012-06-14 10:20:49 +01:00
Mike Jolley 731f588b31 Readme and versions 2012-06-10 20:12:06 +01:00
Mike Jolley c6d6fd7901 ajax coupon form. Closes #1061. 2012-06-10 12:40:07 +01:00
Mike Jolley e128fc02ee Merge pull request #1129 from GeertDD/menu_names
Allow custom translations for admin menu names
2012-06-08 12:31:58 -07:00
Mike Jolley 0f905e9cd0 mijireh gateway 2012-06-08 11:46:10 +01:00
Geert De Deckere 6128a82da6 Allow custom translations for admin menu names 2012-06-07 10:06:33 +02:00
Mike Jolley 0fce6aecaa localisation issues Closes #1106. 2012-06-06 21:35:40 +01:00
Mike Jolley 809175b41c filters. Closes #1108. 2012-06-06 20:28:15 +01:00
Mike Jolley 405a1eb147 out of state rounding tweaks 2012-06-05 12:21:52 +01:00
bfred-it 713baa8ac5 Fixes error "number_format() expects parameter 1 to be double, string given" on some servers 2012-05-28 15:42:15 +03:00
Mike Jolley b7894b14ca Counts. #1084. 2012-05-28 10:19:29 +01:00
Mike Jolley 19b4d7344b clear transient 2012-05-26 16:31:58 +01:00
Mike Jolley 48c222f9d1 spaces 2012-05-24 12:20:28 +01:00
Mike Jolley 8332137cf9 Strange error where detecting the page (is_page etc) would break the canonical redirect in some instances when hooked into 'wp'. Used the later get_header hook instead. 2012-05-17 22:26:56 +01:00
Mike Jolley 0b5fcd5139 version bump and installer cleanup 2012-05-17 12:58:25 +01:00
Mike Jolley aa2bf617ab variations solid individually handling 2012-05-11 12:47:23 +01:00
Mike Jolley e6f5426839 Tweaks for launch 2012-05-10 12:45:14 +01:00