Commit Graph

1324 Commits

Author SHA1 Message Date
James Collins 15bd87cbec WooCommerce Install Pages Enhancements
When attempting to install a new page:

* only search for pages (ignore posts and other custom post types)
* search for an existing page with the specified page content (typically a shortcode), or if no page content is specified, search for an existing page with the specified page slug.

Should fix #3100 and will also help ensure that WooCommerce only attempts to reuse existing pages that have the WooCommerce shortcodes on them, thus reducing conflicts with other eCommerce plugins.
2013-05-21 16:18:35 +10:00
James Koster d976dedcc5 no more css options & added responsive stylesheet 2013-05-14 18:28:36 +01:00
Coen Jacobs ee52cf9b49 Missed a parenthesis for #3154 - thanks @sjeden 2013-05-14 11:47:09 +02:00
Coen Jacobs 1ee8dfde24 Replace deprecated wp_convert_bytes_to_hr() with size_format(). Closes #3154 2013-05-14 11:33:19 +02:00
James Koster 3c79056aa8 More CSS separation #2785 2013-05-13 16:02:22 +01:00
Coen Jacobs 2f5f631dee Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	readme.txt
2013-05-13 16:13:47 +02:00
Coen Jacobs 44c604da2d Merge remote-tracking branch 'john/master'
Conflicts:
	readme.txt
2013-05-13 16:12:19 +02:00
Mike Jolley cdcdbd79f7 Remove expensive query. Closes #3116 2013-05-13 14:40:15 +01:00
Coen Jacobs ecb5edc9bd Post id property is obviously ID, not id 2013-05-13 11:42:10 +02:00
Coen Jacobs b4b3d1c790 Fix error trying to use -> outside object 2013-05-13 10:59:09 +02:00
Mike Jolley 3d66634221 Hide images from admin too. 2013-05-10 12:30:12 +01:00
Coen Jacobs 9f48e70ca4 Added 'WooCommerce' name to updater notice. Closes #3132
Just a touch of branding in that message so all users with less
technical know how, know where this message is coming from
2013-05-09 21:42:24 +02:00
Mike Jolley 9be0927eb8 Merge pull request #3078 from Geczy/master
Duplicate capability hook
2013-05-09 09:12:05 -07:00
Mike Jolley c42fafd26c Merge pull request #3134 from kloon/master
Variations bulk edit increase/decrease prices by fixed or percentage values and MyException fix
2013-05-09 09:10:00 -07:00
James Koster b98307c4be Splitting the CSS #2785 2013-05-09 15:39:35 +01:00
Gerhard d426964bb9 Variation Bulk Edit - Increase/Decrease prices by fixed or percentage values 2013-05-09 08:23:25 +02:00
John c887922500 new status reporting system
new status reporting system, this plugin list is better visually and
very better to read
2013-05-07 15:19:27 -03:00
Gerhard 38d892b14e esc_js translatable strings to avoid js breaking on quote chars 2013-05-06 15:17:04 +02:00
Gerhard ba923875a2 esc_js for translatable string in the javascripts 2013-05-06 14:50:28 +02:00
Coen Jacobs 656c897448 Merge pull request #2828 from thenbrent/formatted_product_name
Encapsulate formatted product name
2013-05-02 08:26:41 -07:00
Coen Jacobs 7a21dacf5b Cast term_id as int before using in has_term. Closes #3077 #1999 2013-05-02 16:58:30 +02:00
Matt b79ef5a36c Duplicate capability hook 2013-05-02 09:09:32 -04:00
Coen Jacobs 2616251ed3 Code standards and readme for #3076 2013-05-02 14:00:22 +02:00
Gerhard a93cee0cba SKU: search case insensitive support 2013-05-02 13:23:12 +02:00
Warren Holmes 056473d681 Ensure product exists on downloads information. 2013-04-29 21:39:19 +02:00
Mike Jolley 4b87f933a4 Extension compatibility fix #3026 2013-04-29 15:17:03 +01:00
Mike Jolley 073227317c Merge pull request #3026 from MZAWeb/master
Make easier for 3rd party plugins to get reports and charts info
2013-04-29 07:15:09 -07:00
Mike Jolley a2788af011 fix screen ids 2013-04-25 16:18:27 +01:00
Daniel Dvorkin a8c722dc72 Make reports and charts discovery easier
Extract the reports and charts definition to a new woocommerce_get_reports_charts() function so third party plugins can get easily the data.

Also add a string key to each chart so it's easier and more reliable to identify them, because order, name and function can change.
2013-04-24 22:25:12 -03:00
Mike Jolley efa8d9fe62 Brazil states fixes 2013-04-24 15:37:49 +01:00
Mike Jolley 505170da93 Merge pull request #2994 from claudiosmweb/fix_i18n_brazil_states
Fix i18n for Brazilian States
2013-04-24 07:25:43 -07:00
Mike Jolley 3e43a19c30 Fix Screen ids when plugin name localised. Closes #3013.
Closes #3016.
2013-04-24 14:29:38 +01:00
Mike Jolley 706e78af72 Save hook should be named differently for coupon data. 2013-04-24 13:27:03 +01:00
Mike Jolley 91ffd711ce Merge pull request #2990 from kloon/master
Apply the_content filter to taxonomy archive descriptions
2013-04-23 08:11:12 -07:00
Mike Jolley b473f3f96a Update field descirption so its clear validation is done when order is placed. Closes #3006. 2013-04-23 15:58:10 +01:00
Gerhard 7bbe6f1d51 Add support for MAC line endings when importing tax rates 2013-04-22 10:43:25 +02:00
claudiosmweb abd2deaec8 Added function to correct the Brazilian states in orders and clients 2013-04-19 18:18:04 -03:00
Justin Stern 143079c9e9 Renamed Order Items 'Cost' column to 'Totals' for clarity 2013-04-18 16:04:03 -04:00
Max Rice 4a54236563 Allow class callbacks for report functions 2013-04-17 12:13:21 -04:00
Mike Jolley 8d2c2b5368 Missing textdomains 2013-04-17 16:03:27 +01:00
Mike Jolley e9cfd5b32a Updated docs links 2013-04-17 10:16:37 +01:00
Mike Jolley f3be90b9b5 Order item meta - skip serialized fields. Closes #2962. 2013-04-16 15:50:09 +01:00
Mike Jolley 003dab8525 Better workaround for #2975 2013-04-16 15:39:07 +01:00
Mike Jolley c211603fc9 Fix saving options for attribute taxonomies containing special chars. Closes #2975. 2013-04-16 14:41:23 +01:00
Mike Jolley b40cf953f3 Merge pull request #2968 from piffpaffpuff/master
use base_country for tax calculations in manually created orders
2013-04-16 05:48:59 -07:00
Mike Jolley d64b83a9f9 Use the core function #2971 2013-04-16 13:37:01 +01:00
Gerhard c3397e3664 Removed space 2013-04-16 09:03:26 +02:00
Gerhard b172757a8e Remove url params from filenames on orders in backend under Downloadable Product Permissions 2013-04-16 09:01:50 +02:00
Mike Jolley e16d222f96 Merge pull request #2960 from bengummer/issue-2958
patch shop_order.php for issue 2958
2013-04-15 07:07:19 -07:00
Mike Jolley ba0b4196fa Posted 'text' terms are not slugs. Only striptags/slashes - don't change to slugs. Closes #2955. 2013-04-15 13:15:42 +01:00
Ben Gummer ddd92141bf patch shop_order.php for issue 2958
adds ` UTC` to the variable passed to `strtotime` to ensure that the `strtotime` function does not assume the local timezone when converting.
2013-04-15 21:02:19 +10:00
Triggvy Gunderson 53c13f721b base_country js param for order tax calculation
added  woocommerce_writepanel_params.base_country to fix tax
calculation when an order is created manually. if you click the button
calc taxes the js uses base_country to calc when no billing/shipping
country is selected. just like the the message says: "If no
billing/shipping is set it will use the store base country".
2013-04-14 22:59:18 +02:00
Mike Jolley 02d8aec39c Over-sanitized. Closes #2933. 2013-04-12 09:51:10 +01:00
Mike Jolley 12e185e70b Merge pull request #2915 from maxrice/master
Fix coupon type filter typo
2013-04-09 06:14:03 -07:00
Max Rice 107877037f Fix coupon type filter typo 2013-04-09 07:56:37 -04:00
Mike Jolley d84d1c7a74 Tool to flush customer sessions 2013-04-09 09:40:07 +01:00
Mike Jolley 9031c7603f Sanitize taxonomy names. Closes #2844. 2013-04-08 21:11:55 +01:00
claudiosmweb 2aa712ef4a added filters to format the address 2013-04-07 05:31:21 -03:00
Mike Jolley fa91ef80d4 Cache helper sets DONOTCACHEPAGE during init, rather than in each shortcode, and the W3 Issue with database cached appeared to be because the add_option had autoload 'no'. Removing autoload no was the only workaround I could find.
Now works with all caching enabled in W3 Total cache. Closes #2862.

cc @coenjacobs
2013-04-05 22:24:56 +01:00
James Koster aebcf3ded6 twentythirteen bits 2013-04-05 16:17:41 +01:00
Mike Jolley d08b1679c8 Show non-existing product line items. Closes #2877 2013-04-05 13:44:38 +01:00
Mike Jolley 23eb142c79 Nonce check notice. Closes #2869. 2013-04-04 17:45:39 +01:00
Mike Jolley 9f510bb7e0 Check price is set when syncing prices for variations 2013-04-04 10:11:12 +01:00
Jorijn Smit 2ae7ec8360 PHP function fell outside PHP tags.
The function do_action() on line 983 fell outside the PHP tags en thus displayed as pure text in the admin panel.
2013-04-02 13:49:41 +03:00
Mike Jolley a86451aa90 Fix saving of download permissions in order admin. 2013-04-02 11:25:07 +01:00
Mike Jolley cbb84e0368 settings page notices 2013-03-30 13:28:25 +00:00
Mike Jolley afae4734d6 attribute name checking 2013-03-29 18:42:49 +00:00
Coen Jacobs 808e3024ca Do not sanitize old attribute name to not mess up comparing 2013-03-28 11:34:24 +01:00
Mike Jolley 728fd82af5 woocommerce_add_tinymce_lang array key. Closes #2823 2013-03-27 11:07:32 +00:00
Brent Shepherd 9e71cd699f Update woocommerce_get_formatted_product_name use
To use new WC_Product::get_formatted_name() function. For #2788
2013-03-27 18:00:43 +10:00
Coen Jacobs 78c1db6a51 Sanitize id in woocommerce_get_product_to_duplicate function 2013-03-25 20:53:13 +01:00
Mike Jolley d4b57da561 Merge pull request #2810 from Geczy/master
Reports order link filter
2013-03-25 08:46:08 -07:00
Mike Jolley 1dd482efea Merge pull request #2800 from maxrice/bulk-product-hooks
Add actions to product bulk edit section
2013-03-25 08:44:48 -07:00
Mike Jolley 4c722c7338 Hide tax reports when taxes disabled. Closes #2797. 2013-03-25 15:43:14 +00:00
Matt 502e0586bf Filter order links in the reports 2013-03-25 10:46:02 -04:00
Mike Jolley 76c7aed302 Download system report for FF 2013-03-25 13:57:56 +00:00
Mike Jolley 8b99a175a2 version data on system status page. 2013-03-25 10:34:36 +00:00
Max Rice d04b3111d2 Add actions to product bulk edit section 2013-03-23 16:32:47 -04:00
Mike Jolley 414315fde0 start/end to prevent hook conflict. @growdev 2013-03-23 15:18:53 +00:00
Mike Jolley b87c7ebb01 lower case auto_increment. #2752 2013-03-22 20:47:07 +00:00
Dalton Rooney 00e54abdb2 Product gallery metabox should use thumbnails
Not full size images.
2013-03-21 13:04:15 -03:00
Mike Jolley c3e98eac8e always serialize. 2013-03-19 21:33:12 +00:00
Mike Jolley 161dca5b49 Unset post_parent Closes #2720. 2013-03-18 14:55:21 +00:00
Mike Jolley 00a65b7cbd Don't use woocommerce_clean for urls. Closes #2687. 2013-03-18 14:13:50 +00:00
Mike Jolley d6ec17604f Product tabs when a product type doesn't exist yet. Closes 2750. 2013-03-18 13:10:27 +00:00
Mike Jolley bda5770c83 #2718. Missed colon! 2013-03-18 12:52:00 +00:00
Mike Jolley b20cf841b6 Move welcome string. Closes #2718. 2013-03-18 12:49:13 +00:00
Mike Jolley 46dc3466d1 Removed Base Page Title option - rename the page instead. Closes #2727 2013-03-18 12:43:38 +00:00
Mike Jolley 38c7c8994f Merge pull request #2722 from lucasstark/patch-5
Missing = in label for product_length
2013-03-18 02:42:19 -07:00
Mike Jolley 946ecaaae2 Tweak - Filters for attribute default values. 2013-03-15 19:33:42 +00:00
Lucas Stark c6b8384563 Missing = in label for product_length 2013-03-14 14:19:51 -03:00
Mike Jolley ca46e4ec29 Fix attribute encoding issues. Closes #2644. 2013-03-10 16:55:53 +00:00
Mike Jolley 6f238650d1 Fix the page slurp 2013-03-10 14:33:27 +00:00
Mike Jolley c37f099fd5 Edit class Closes #2654. 2013-03-10 13:35:12 +00:00
Mike Jolley 5393fc7ddb Santize custom attributes. #2587 2013-03-07 19:34:29 +00:00
Mike Jolley ce24b83b7d Fix post code ranges. Closes #2624. 2013-03-07 14:02:50 +00:00
James Koster 3c1ad56bcd Re-applied image setting tooltips 2013-03-07 12:49:51 +00:00
Mike Jolley 26e730acb2 Tweak label. Closes #2621. 2013-03-07 11:16:17 +00:00
Mike Jolley 1315111e0f Clear cache when saving order items 2013-03-06 14:25:09 +00:00
Mike Jolley dbc6d47197 Flushes 2013-03-06 13:43:53 +00:00