Commit Graph

376 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