Commit Graph

1970 Commits

Author SHA1 Message Date
Nicola Mustone 9499d561d3 add WP_CRON to the system status 2016-01-14 08:01:22 +01:00
Mike Jolley d821b87f8a Move shipping classes to custom UI in shipping section 2016-01-13 16:52:28 +00:00
Mike Jolley 8064b35350 Add methods from zones screen 2016-01-13 15:04:10 +00:00
Mike Jolley 31be09073f Show zones if no matching shipping method is found 2016-01-13 12:41:54 +00:00
Mike Jolley c8025705c1 Text changes 2016-01-13 12:38:31 +00:00
Mike Jolley 6a8819fc23 Text changes 2016-01-13 12:31:10 +00:00
Mike Jolley 68e30f0f38 Zones page text 2016-01-13 12:12:58 +00:00
Claudio Sanches 636e2389aa Changed … to … 2016-01-12 14:03:01 -02:00
Mike Jolley 70a9eb3807 Fix pagination + sorting on tax screen
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley bdb8de7785 Zone unit tests 2016-01-08 14:53:24 +00:00
Mike Jolley accc62d5ef Breadcrumb tweak 2016-01-08 12:10:40 +00:00
Mike Jolley cef3ec7e37 Indicate disabled methods 2016-01-08 11:57:49 +00:00
Mike Jolley 007abbc98e Shipping meta data
Closes #9094
2016-01-08 11:42:32 +00:00
Mike Jolley ad11042afd [2.4] Don't unforce SSL on secure blogs
@claudiosmweb can you check this and cherry pick if good to go?

Fixes #10029
2016-01-08 11:27:18 +00:00
Shiva Poudel 45dd6890c7 Use selected instead of checked for currency code in setup wizard 2016-01-07 16:58:53 +05:45
Mike Jolley ca69ed7012 Wizard integration 2016-01-06 14:21:13 +00:00
Claudio Sanches e4c45c0c47 Merge pull request #9964 from frozzare/docs/class-wc-admin-settings
Improve docblock comments in WC_Admin_Settings class
2016-01-05 14:01:34 -02:00
Claudio Sanches 0fc96d3015 Merge pull request #9965 from frozzare/docs/class-wc-admin-meta-boxes
Improve docblock comments in WC_Admin_Meta_Boxes class
2016-01-05 14:00:26 -02:00
Claudio Sanches 2cb64100a0 Merge pull request #9966 from frozzare/docs/class-wc-admin-menus
Improve docblock comments in WC_Admin_Menus class
2016-01-05 14:00:12 -02:00
Claudio Sanches 84aa679980 Merge pull request #9967 from frozzare/docs/class-wc-admin-addons
Improve docblock comments in WC_Admin_Addons class
2016-01-05 14:00:07 -02:00
Claudio Sanches 01908dca5d Merge pull request #9968 from frozzare/docs/class-wc-settings
Improve docblock comments in WC_Settings_* classes
2016-01-05 13:59:56 -02:00
Claudio Sanches 648b33fab9 Merge pull request #9969 from frozzare/docs/class-wc-admin-taxonomies
Improve docblock comments in WC_Admin_Taxonomies class
2016-01-05 13:59:48 -02:00
Fredrik Forsmo c7ab50ec7e Add missing param tags to various wc admin docblocks 2016-01-05 16:49:41 +01:00
Fredrik Forsmo 559d9259ea Improve docblock comments in WC_Admin_Taxonomies class
* Added missing param tags
* Updated param types to right type
2016-01-05 16:42:03 +01:00
Fredrik Forsmo 005be911b5 Improve docblock comments in WC_Admin_Settings class
* Added comments to properties that don’t have any.
2016-01-05 16:37:28 +01:00
Fredrik Forsmo 7783ec5ca6 Improve docblock comments in WC_Admin_Meta_Boxes class
* Added comments to properties that don’t have any.
* Fixed can typo: `cna => can`
2016-01-05 16:32:16 +01:00
Fredrik Forsmo a64fa98b40 Improve docblock comments in WC_Admin_Menus class
* Added comment to `nav_menu_links` since it didn’t have any.
2016-01-05 16:29:16 +01:00
Fredrik Forsmo b4bcf38a26 Improve docblock comments in WC_Admin_Addons class
* Added missing param tags
2016-01-05 16:24:48 +01:00
Fredrik Forsmo 72f062b452 Improve docblock comments in WC_Settings_* classes
* Added comments to properties that don’t have any.
2016-01-05 16:22:18 +01:00
Mike Jolley ade2b04ab3 Merge pull request #9960 from frozzare/docs/class-wc-report-stock
Improve docblock comments in WC_Report_Stock class
2016-01-05 12:15:34 +00:00
Mike Jolley 12bf6c5355 Merge pull request #9959 from frozzare/docs/class-wc-report-sales-by-category
Improve docblock comments in WC_Report_Sales_By_Category class
2016-01-05 12:15:21 +00:00
Mike Jolley a8f8802631 Merge pull request #9958 from frozzare/docs/class-wc-report-sales-by-date
Improve docblock comments in WC_Report_Sales_By_Date class
2016-01-05 12:14:01 +00:00
Mike Jolley 6ee8727ff6 Merge pull request #9957 from frozzare/docs/class-wc-report-sales-by-product
Improve docblock comments in WC_Report_Sales_By_Product class
2016-01-05 12:13:13 +00:00
Mike Jolley cc1232e126 Merge pull request #9956 from frozzare/docs/class-wc-report-out-of-stock
Improve docblock comments in WC_Report_Out_Of_Stock class
2016-01-05 12:12:38 +00:00
Mike Jolley c564a05ac3 Merge pull request #9954 from frozzare/docs/class-wc-report-customers
Improve docblock comments in WC_Report_Customers class
2016-01-05 12:12:18 +00:00
Mike Jolley 80eb99526d Merge pull request #9955 from frozzare/docs/class-wc-report-most-stocked
Improve docblock comments in WC_Report_Most_Stocked class
2016-01-05 12:11:46 +00:00
Fredrik Forsmo 67308a3131 Add missing `exit if accessed directly` to WC_Report_Taxes_* classes 2016-01-05 12:47:44 +01:00
Fredrik Forsmo a9b4cc2caf Improve docblock comments in WC_Report_Stock class
* Added comments to properties that don’t have any.
* Added comment to `__construct`, `column_default`, `get_columns` and
`prepare_items` since it
was `method function`
* Added missing param tags to `display_tablenav`
2016-01-05 12:46:15 +01:00
Fredrik Forsmo 53d5684c92 Improve docblock comments in WC_Report_Sales_By_Product class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `current_filters` and `products_widget`
2016-01-05 12:41:12 +01:00
Fredrik Forsmo 0b62c624fa Improve docblock comments in WC_Report_Sales_By_Date class
* Added comments to properties that don’t have any.
* Fixed return tag value for `get_report_data`
2016-01-05 12:28:49 +01:00
Mike Jolley 97d47fb576 Move zones to main settings 2016-01-05 11:23:15 +00:00
Fredrik Forsmo 03a3e4f06d Improve docblock comments in WC_Report_Sales_By_Category class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `category_widget` comment to a better one.
2016-01-05 12:18:58 +01:00
Fredrik Forsmo a59e110895 Improve docblock comments in WC_Report_Out_Of_Stock class
* Added missing param tags to `get_items`
2016-01-05 11:52:38 +01:00
Fredrik Forsmo c88119814c Improve docblock comments in WC_Report_Most_Stocked class
* Added missing param tags to `get_items`
2016-01-05 11:37:33 +01:00
Mike Jolley e07185ec1f Merge pull request #9952 from frozzare/docs/class-wc-report-low-in-stock
Add missing docblock param tags to get_items in WC_Report_Low_In_Stock class
2016-01-05 10:17:13 +00:00
Mike Jolley a24df3aa61 Merge pull request #9949 from frozzare/docs/class-wc-report-coupon-usage
Improve docblock comments in WC_Report_Coupon_Usage class
2016-01-05 10:17:03 +00:00
Mike Jolley 8231853f70 Merge pull request #9950 from frozzare/docs/class-wc-admin-report
Improve docblock comments in WC_Admin_Report class
2016-01-05 10:16:49 +00:00
Fredrik Forsmo b589d22a84 Improve docblock comments in WC_Report_Customers class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets`, `customers_vs_guests` since it
was `method function`
* Added missing `exit if accessed directly`
* Updated `get_main_chart` comment since it is wrong.
2016-01-05 11:11:20 +01:00
Fredrik Forsmo c0be061de6 Add missing docblock param tags to WC_Report_Low_In_Stock class 2016-01-05 11:08:12 +01:00
Fredrik Forsmo 130ff76ffc Improve docblock comments in WC_Report_Customer_List class
* Added missing `public` before `column_default` function
* Added comment to `__construct `, `column_default`, `get_columns` and
`prepare_items` since it was `method function`
2016-01-05 10:00:52 +01:00
Fredrik Forsmo e0f5117efe Improve docblock comments in WC_Report_Coupon_Usage class
* Added comments to properties that don’t have any.
* Added comment to `get_chart_widgets` since it was `method function`
* Updated `coupons_widget` comment since it is wrong.
* Added missing `exit if accessed directly`
2016-01-05 09:54:43 +01:00
Fredrik Forsmo 004ab615c5 Improve phpdoc comments in WC_Admin_Report class
* Added comments to properties that don’t have any.
* Fixed return value for `prepare_chart_data`.
* Added comment to `get_chart_widgets` since it was `method function`
2016-01-05 09:48:39 +01:00
Claudio Sanches 9f5f1bd4fe Merge pull request #9943 from frozzare/docs/admin-wc-meta-boxes
Add missing phpdoc param tags to all WC_Meta_Box_* classes
2016-01-04 20:01:50 -02:00
Fredrik Forsmo da2e0ac950 Add missing phpdoc param tags to all WC_Meta_Box_* classes 2016-01-04 22:31:36 +01:00
Claudio Sanches efb6c0d430 Merge pull request #9941 from frozzare/docs/admin-wc-tax-rate-importer
Improve phpdoc comments in WC_Tax_Rate_Importer class
2016-01-04 18:40:40 -02:00
Mike Jolley ae42781027 extra escaping in search 2016-01-04 19:14:18 +00:00
Mike Jolley e4e4428343 Speed up numeric order searches
Closes #9942
2016-01-04 18:58:14 +00:00
Fredrik Forsmo 749a09c64a Improve phpdoc comments in WC_Tax_Rate_Importer class 2016-01-04 17:07:23 +01:00
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 5aac7062e5 thumbnail size
Closes #9928
2016-01-04 10:46:11 +00:00
Andrew Benbow d4f4e7625c Correct a to an
SSL is pronounced "es es el" and so requires an not a, see Use 6 here http://www.englishpage.com/articles/a-vs-an.htm
2015-12-29 20:35:13 +00:00
Mike Jolley 0b678ab2af Tweak save logic to set _price for variables/groups via sync functions only
Closes #9892
2015-12-23 13:08:45 +00:00
Gregor Capuder f785561f5f Added a filter for disabling automatic redirect to the setup wizard, after plugin activation. 2015-12-22 12:03:31 +01:00
Claudio Sanches 997d1caa50 Fixed several new variations admin actions, closes #9886 2015-12-21 03:36:36 -02:00
Claudio Sanches a81f0f6eea Use blockui while saving taxes 2015-12-19 12:12:31 -02:00
Claudio Sanches 89581d1541 Setup Wizard and no Onboarding Wizard 2015-12-18 17:05:16 -02:00
Mike Jolley 77f0e9d72a has settings handling 2015-12-18 13:12:20 +00:00
Mike Jolley c7e104115f unused code 2015-12-17 12:58:02 +00:00
Mike Jolley 8ebba9cc68 "enabled" column 2015-12-16 16:24:58 +00:00
Mike Jolley e13ba4f029 Empty states 2015-12-16 15:37:40 +00:00
Mike Jolley 571469f44c Add methods to zones 2015-12-16 15:16:52 +00:00
Mike Jolley bf362de020 worldwide methods 2015-12-16 13:38:03 +00:00
Mike Jolley 8aec02f625 Remove shipping select box option, tidy up logic and add filters from #9797
closes #9797
2015-12-16 13:00:16 +00:00
Fulvio Notarstefano d7d70298c5 #9857 change get_class to 2015-12-16 14:25:17 +08:00
Claudio Sanches c001d5b274 Make tooltips consistent, closes #9856 2015-12-16 03:38:53 -02:00
Mike Jolley d8f96f4dc9 zones empty state 2015-12-15 19:10:41 +00:00
Mike Jolley 7f61beee41 Worldwide zone handling 2015-12-15 18:04:14 +00:00
Mike Jolley 44b2834d73 Worldwide zones needs handling 2015-12-15 17:54:51 +00:00
Mike Jolley e25d876779 List and sort methods within zones 2015-12-15 17:48:03 +00:00
Mike Jolley 05783272a2 Merge branch 'exensible-addons-screen' 2015-12-15 16:41:56 +00:00
Mike Jolley f48f09ebdf Fix zone links 2015-12-15 16:35:33 +00:00
Mike Jolley 9818796d3e Removing selection priority
This option was added so you could sort methods in a custom order, but
choose a different default.

Doing this per zone would add extra complexity, and this has also
proven problematic when a method registers multiple rates.

This commit removes usage of the setting. We should use the display
order and choose the top method by default. It think this balances ease
of use with control.
2015-12-15 15:49:35 +00:00
Bryce Adams ff5caa85b7 Update URL used to get add-on sections
Related to https://github.com/Automattic/woothemes.com/pull/47
2015-12-15 12:20:02 +11:00
Mike Jolley 3b81642eec Instance and global level settings 2015-12-14 16:56:39 +00:00
Mike Jolley d515ddaaed Merge pull request #9798 from JeroenSormani/admin-order-item-hooks
Add hooks after order line items in admin
2015-12-14 12:50:54 +00:00
Mike Jolley 7ce6e2f1ab Merge pull request #9820 from pmgarman/processing-order-counts-filter
Add filter to remove admin menu order counts
2015-12-14 12:43:14 +00:00
Mike Jolley 63f8eebd6a Started on refactoring settings for instances 2015-12-11 16:41:38 +00:00
Mike Jolley 6cea054fca Method list screen and method screen with breadcrumbs 2015-12-11 14:11:12 +00:00
Luan Cuba 9a52cc3abd It should be "character" instend of "charactrer". 2015-12-10 17:51:50 -02:00
Patrick Garman 0fa0c20520 Add filter to remove admin menu order counts
On large sites this query can easily take 6-10 seconds to complete, slowing the entire dashboard down.
2015-12-10 13:40:41 -06:00
Mike Jolley 66d4065ae4 postcode saving 2015-12-10 18:33:59 +00:00
Mike Jolley 4893db3afe tweak js 2015-12-10 17:47:14 +00:00
Mike Jolley 0e2bfa551c wc-shipping-zone-postcodes 2015-12-10 17:29:09 +00:00
Mike Jolley d859b6f2f9 remove trs 2015-12-10 17:27:25 +00:00
Mike Jolley 4557157890 List regions 2015-12-10 17:07:18 +00:00
Mike Jolley cf5381083d Started on zone regions selector 2015-12-10 15:09:37 +00:00
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Claudio Sanches 987b93c87e Changed (Untitled) to (no title) #9806 2015-12-09 16:28:34 -02:00
Claudio Sanches 2a5b785e50 Show (Untitled) in settings when payment method don't have title
Fixed some coding standards too.

Closes #9806
2015-12-09 15:11:59 -02:00