Commit Graph

426 Commits

Author SHA1 Message Date
Mike Jolley 5486ebb737 Shortcodes/Widgets -> classes, autoload classes to reduce memory, only load gateways when needed, change gateway admin to match shipping #1765 2012-12-31 18:25:09 +00:00
Mike Jolley b9a8f2c204 Combined some functions #1765 2012-12-31 13:03:56 +00:00
Mike Jolley d1372bde23 2nd exists #2051 2012-12-30 16:37:22 +00:00
Mike Jolley 8c9966145b Removed some unused code, removed order tracking from installer. #1765 2012-12-30 15:51:37 +00:00
Mike Jolley 96d6cc5980 More transient clearing tools 2012-12-30 15:02:24 +00:00
Mike Jolley 1d6707093c Wrong paths #2051 2012-12-30 13:56:27 +00:00
Mike Jolley 4c7ea6a016 Load admin mo, and updated GB translation. 2012-12-30 13:48:27 +00:00
Mike Jolley d993687e9e 2 filters to force/unforce any page programatically. Closes #2030. 2012-12-28 10:57:46 +00:00
Mike Jolley 51ab134142 Added thai states (Closes #2064), added files per state which get loaded only when the country is allowed, and hidden the informal setting unless needed for the lang.
Also moved languages and added an i18n folder for this kind of stuff.
2012-12-28 10:54:09 +00:00
Mike Jolley bdc61bfdce wc_product_type_ transient is unused 2012-12-21 08:44:15 +00:00
Coen Jacobs dec06d8d40 WooCommerce 2.0 beta 1 is here! 2012-12-20 16:17:31 +01:00
Mike Jolley 0b7750e55a Attribute taxonomy transiant. #1765 2012-12-19 20:42:25 +00:00
Mike Jolley 801fdc7420 We no longer use sessions. #1765. 2012-12-19 18:45:33 +00:00
Mike Jolley f663a71550 Media upload (started) 2012-12-18 12:04:33 +00:00
Coen Jacobs 9a92fb48a1 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	classes/class-wc-query.php
	classes/class-wc-tax.php
2012-12-15 13:00:34 +01:00
Coen Jacobs 7b5e74626a Remove pass by reference for objects
Done all files except for external libaries: shareyourcart, cssmin,
lessc

@mikejolley Should we update those libraries as well?
2012-12-15 12:53:32 +01:00
Warren Holmes 633def8112 Correct scope, remove use of var.
- woocommerce.php
2012-12-14 23:19:40 +02:00
James Koster f5552e0b5e retina'd frontend ajax loader 2012-12-13 15:53:36 +00:00
Coen Jacobs 5e675ab0e3 Updated readme with 1.6.6 release 2012-12-13 16:27:48 +01:00
Coen Jacobs fb91b72ee0 Check for thumbnail support on content type level 2012-12-13 13:40:24 +01:00
Mike Jolley a8fba0cf04 Tweaked installer and added new cron for scheduled sales. Closes #1971. 2012-12-12 12:52:39 +00:00
Mike Jolley 253562e980 Enqueue placeholder separately. #1972. 2012-12-12 10:33:16 +00:00
Mike Jolley c394119983 Ajax view cart. Closes #1948. 2012-12-10 13:11:05 +00:00
Mike Jolley bfcb3ec1e9 Load options in checkout class and ensure hooks are available to change the options. Closes #1950. 2012-12-10 12:34:59 +00:00
Mike Jolley 66eb090017 Image size option names. Closes #1953. 2012-12-10 11:33:26 +00:00
Mike Jolley 753fc7c39e Use core jquery ui. Closes #1929. 2012-12-06 14:56:19 +00:00
Mike Jolley bcc91f586d Use different sanitize functions for attribute names. Closes #1897. 2012-12-05 15:01:29 +00:00
Coen Jacobs 37feabd87f WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
Mike Jolley 9d853e0c02 Product counts. #1789 2012-11-28 15:03:26 +00:00
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