Commit Graph

639 Commits

Author SHA1 Message Date
James Koster 57809bc017 coding standards 2014-11-11 15:47:14 +00:00
James Koster ecb5c77eae coding standards 2014-11-11 14:40:13 +00:00
James Koster 0321fc79d1 yoda 2014-11-11 14:31:27 +00:00
James Koster 7fd28c1295 order. #6639 2014-11-11 14:29:54 +00:00
James Koster c153a62406 Products setting tab. #6639 2014-11-11 14:25:46 +00:00
Mike Jolley 83fb26e30d Dump chosen select option. Closes #6593 2014-11-11 12:12:28 +00:00
James Koster 5c04007605 products settings tab. #6639 2014-10-31 19:07:04 +00:00
claudiosmweb 861a34c348 Removed the frontend styles setting #6589 2014-10-21 20:12:39 -02:00
Mike Jolley 1af90cd169 Only show integrations subnav when there are multiple integrations. 2014-10-16 15:53:12 +01:00
Mike Jolley b340fd68ae Made tax importer expand postcode ranges.
Closes #4463
2014-10-10 15:18:47 +01:00
Gustavo Bordoni c335d223d8 Remove all calls to get_page(), as it was deprecated on WordPress 3.5.0 2014-10-06 06:55:45 -03:00
Mike Jolley c8ffee57ff [2.2] Ensure rate is double
Fixes #6442
2014-10-03 10:11:14 +01:00
James Koster e92be69c9c Increase default product image sizes. closes #5480 2014-09-26 17:49:27 +01:00
claudiosmweb 2a255de172 changed the LESS compiler to SCSS compiler #5606 2014-09-22 15:30:07 -03:00
shivapoudel ab52b93592 Absolute path and Indentation fix for includes/admin/settings/*.php :) 2014-09-21 01:40:47 +05:45
Mike Jolley aee2b62c85 Added woocommerce_get_settings_ID filters.
Closes #6231
2014-09-12 12:20:06 +01:00
claudiosmweb ec9e08ba7d Fixed images crop option and wc_get_image_size() function
Reported in http://wordpress.org/support/topic/hard-crop

@mikejolley
2014-09-11 21:22:30 -03:00
Gerhard deb440ffcf Escape js array labels.
Closes #6222
2014-09-11 15:43:41 +02:00
James Collins 1e251d36b6 Fix query error when saving tax rates
Fixes #6202
2014-09-10 09:47:09 +08:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Tamara Zuk a0ce139f7d Coding Standards: Admin - Settings
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Mike Jolley 6bd38b5ce0 Tweak display order text 2014-08-15 11:50:53 +01:00
Mike Jolley c465c7235d Merge branch 'credit-notes'
Conflicts:
	includes/abstracts/abstract-wc-order.php
	includes/class-wc-order-factory.php
	includes/class-wc-post-types.php
	includes/wc-formatting-functions.php
	includes/wc-order-functions.php
2014-07-29 12:09:52 +01:00
Mike Jolley 4a306beef5 Max 100 taxes displayed, but show text input 2014-07-23 11:30:06 +01:00
Michael Silber 32bd50c379 Move TFOOT to after TBODY element throughout templates and classes 2014-07-10 21:50:51 -04:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley 3fbd036b81 Merge pull request #5573 from claudiosmweb/5180-tax-validation
Add validation for country code in tax settings
2014-05-28 09:32:09 +01:00
claudiosmweb 9ea27fd416 fixed another variable overwritten in tax settings 2014-05-27 19:12:11 -03:00
claudiosmweb c4cb110af1 fixed a variable overwritten in tax settings 2014-05-27 19:08:18 -03:00
claudiosmweb 322c655e61 added validation for country code in tax settings, closes #5180 2014-05-27 19:03:21 -03:00
Mike Jolley b1c32f5724 Merge pull request #5508 from lukecarbis/issue-5506
Fix notice that occurs from external function call
2014-05-22 09:56:01 +01:00
Luke Carbis 97fb685b2e Add $tax_rate_id to the added and updated actions
Resolves https://github.com/woothemes/woocommerce/issues/5524
2014-05-21 09:14:49 +10:00
Luke Carbis 97bf6053e3 Fix notice that occurs from external function call
Resolves https://github.com/woothemes/woocommerce/issues/5506.

This checks to see if the `integrations` array has any values before getting it's current value.
2014-05-19 15:57:34 +10:00
Luke Carbis d4a38f0009 Add action hooks when saving tax rates
Resolves https://github.com/woothemes/woocommerce/issues/5505.

Add three actions when tax rates are saved:
* woocommerce_tax_rate_added
* woocommerce_tax_rate_updated
* woocommerce_tax_rate_deleted
2014-05-19 15:49:35 +10:00
Mike Jolley 0dd8dcba2e Update label for force http option Closes #5474 2014-05-15 12:40:08 +01:00
Mike Jolley 247bd15f68 Change label and add description Closes #4698 2014-04-23 14:24:20 +01:00
Mike Jolley dbe99502bb Merge pull request #5331 from corsonr/settings-tooltip
fixed incorrect "order received" endpoint tooltip
2014-04-22 16:34:50 +01:00
Remi Corson 7e955ba1f9 fixed incorrect order received endpoit tooltip 2014-04-17 11:03:47 +02:00
Akeda Bagus 2a97f07d47 Typo fix. 2014-04-15 22:56:35 +07:00
claudiosmweb 89772bf970 fixed some coding standards in includes/admin/settings/class-wc-settings-general.php 2014-04-08 19:11:33 -03:00
claudiosmweb a969952266 added validation when save the frontend colors, closes #5298 2014-04-08 19:08:04 -03:00
Mike Jolley f869e12aac [2.2] Missed one file for #5284 2014-04-08 16:29:29 +01:00
Mike Jolley 937db45913 [2.2] Merge ship to billing and billing only options
+ update options, update files to use new option + function Closes #5284
2014-04-08 16:28:27 +01:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Mike Jolley c7a129c7fd Only show settings link if method has_settings 2014-02-20 15:16:53 +00:00
Mike Jolley 8c7996e5b1 Fix notice when left blank 2014-02-17 14:54:06 +00:00
Mike Jolley f9251084d9 woocommerce_get_sections_{id} filters Closes #4817 2014-02-17 14:30:42 +00:00
Mike Jolley 2dd73acb9d Context for checkout string Closes #4646 2014-02-06 15:46:18 +00:00
Mike Jolley 98e49e3b99 Delete tax rates transients on settings save Closes #4503 2014-01-20 16:00:15 +00:00
Coen Jacobs 1f5f163916 Added option to hide Returning customer message. Closes #4220 2013-12-05 10:43:46 +01:00
Coen Jacobs 4afbd0b556 Merge branch 'function-call-refactor'
Conflicts:
	includes/admin/post-types/meta-boxes/class-wc-meta-box-order-data.php
	includes/shortcodes/class-wc-shortcode-cart.php
	includes/wc-template-functions.php
2013-11-25 15:42:26 +01:00
Coen Jacobs 47ae00be28 Page functions woocommerce to wc refactor 2013-11-25 15:07:22 +01:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Scott Basgaard 922fa990a5 esc_attr() all the things. 2013-11-20 20:11:59 +01:00
Coen Jacobs e41687ba4f Merge pull request #4138 from woothemes/api-implementation
API implementation merge to master
2013-11-19 00:53:11 -08:00
Max Rice 001ce0fc3e Add option to enable/disable API
Part of #4055
2013-11-19 03:01:46 -05:00
Max Rice dcdca4d4d2 Remove API settings tab
Part of #4055
2013-11-19 03:01:14 -05:00
Brent Shepherd b69066405b Move /add-payment-method/ endpoint to /my-account/
Part of #3396
2013-11-05 13:02:13 -08:00
thenbrent 1bbe03d139 Add new /checkout/add-payment-method/ endpoint
Part of #3396
2013-11-03 16:53:14 -08:00
Max Rice 4daaf22304 Add REST API settings stub 2013-11-03 18:55:34 -05:00
Mike Jolley 19fcf30a66 Option to limit reviews to purchasers. Closes #4021 2013-10-31 17:37:36 +00:00
James Koster 5aeaed888e Add review form no longer opens in lightbox. closes #3804 2013-10-28 09:56:03 +00:00
RistoNiinemets a96cb41c83 no dot use ucfirst nor ucwords for method title 2013-10-25 18:44:17 +03:00
RistoNiinemets ae00faecdd change ucwords to ucfirst 2013-10-25 13:53:53 +03:00
Mike Jolley 8ce3b8dd57 Filters for shortcode tags 2013-10-23 14:55:18 +01:00
Mike Jolley 05d9c0e045 Rename menus, removed woocommerce_ 2013-10-22 17:26:18 +01:00
Mike Jolley ff928714a2 Keep leading zeros. Closes #3930 2013-10-22 16:28:44 +01:00
Gregory K c577e75a6b class-wc-settings-shipping.php : HTML fix (missing TR and typo in TFOOT) 2013-10-01 08:13:14 -04:00
Mike Jolley 79942691ec Init no longer needed - settings API refreshes settings Closes #3858 2013-10-01 10:12:16 +01:00
Mike Jolley 49656cb250 Notice fix Closes #3859. 2013-10-01 10:12:15 +01:00
Mike Jolley 622715ec36 Option for itemized vs grouped taxes. Closes #3453. 2013-09-23 16:10:09 +01:00
Mike Jolley b93df4e706 Excl and incl. display options for prices, and suffix to add additonal info and prices. Closes #1506. 2013-09-19 16:31:54 +01:00
Mike Jolley 9f323af118 Fix paging total closes #3774 2013-09-13 12:28:20 +01:00
Mike Jolley b6e7eeb241 Support no default and make the gateway/shipping tables more streamlined. Closes #3472 2013-09-09 17:16:02 +01:00
Mike Jolley 64d87cbef7 Make logout an endpoint. Still hide it from menus. Fixes #3589
@coenjacobs do we need to do something about this for .14? Will leave
for you next week :)
2013-08-23 16:41:02 +01:00
Mike Jolley 126068de8c Moved options around for checkout settings. 2013-08-22 12:11:19 +01:00
Mike Jolley 3d078397b3 Merge branch 'Re-organise-settings'
Moves settings together. Fixes #3497
2013-08-22 11:58:03 +01:00
sjeden 0617d6e7f0 Remove need for min-width:150px; in shipping setting admin panel.
Doesn't affect the standard WordPress display but if you are using MP6 makes extended width radio buttons.
2013-08-16 12:12:47 +01:00
Mike Jolley b62747a810 Tax rates pagination. Closes #3036. 2013-08-13 12:18:24 +01:00
thenbrent 64832114ee Replace deprecated $wpdb::escape() with esc_sql()
Conflicts:
	admin/settings/settings-tax-rates.php
2013-08-09 14:56:39 +02:00
Mike Jolley 918e30d0e6 compare to lowercase class name 2013-08-08 12:38:26 +01:00
Coen Jacobs 930cd6125f Make sure end( gets a variable to work around strict notices 2013-08-07 14:15:53 +00:00
Mike Jolley 110d8c3026 BACS, Cheque, COD Closes #3172
Rather than merging them (they are all different) I've refactered code
and added multiple accounts in BACS which has had multiple requests.
2013-08-05 16:34:54 +01:00
Mike Jolley 7ad7f31e3b Remove last pipe 2013-08-05 16:34:54 +01:00
Mike Jolley 03af136986 Separate ship to options from sell to. Closes #3215. 2013-08-02 16:54:28 +01:00
Mike Jolley 7dee74ba9e Show settings only when needed #3165 2013-08-02 12:27:31 +01:00
Mike Jolley 9462dde581 Settings refactoring 2013-07-26 15:36:28 +01:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00