Claudio Sanches
d438a68300
Allow woocommerce_form_field() have 'custom_attributes' equal 0
...
array_filter() by default will remove all null values, also 0 or false,
but if trying to declare something like array( 'min' => '0', 'max' =>
'10' ) this will be a problem. So including added strlen() as callback
function will allow keep some strings but still remove null and false
values.
Ref #17940
2017-11-29 18:45:44 -02:00
Claudio Sanches
216ddc799a
Fixed VSCode auto align mistake
...
One more reason to go back to sublime
2017-11-21 10:53:15 -02:00
Claudio Sanches
9681a331e9
Fixed coding standards
2017-11-20 20:19:09 -02:00
Claudio Sanches
5a858eb2b1
Use WC_Query->get_query_vars() instead of WC_Query->query_vars
...
Closes #17733
2017-11-20 14:40:56 -02:00
Mike Jolley
46775c2f7d
standards
2017-11-20 12:14:05 +00:00
Alexandre GASNE
0018b4349e
Fix: Apostrophe wrongly escaped for price nav filter and widget nav filters
2017-11-18 20:11:53 +01:00
Mike Jolley
0d09d0c0fd
Grab description directly to pass through wc_format_content
2017-11-09 16:57:50 +00:00
Mike Jolley
6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
...
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Mike Jolley
9f6f5f9f17
Merge pull request #17609 from woocommerce/update/17254-input-to-button
...
Convert input submit elements to button submit elements
2017-11-07 19:21:04 +00:00
Mike Jolley
db4e630600
Replace thumbnail names
2017-11-07 18:48:51 +00:00
Mike Jolley
e025caf177
Widths and aspect ratios
2017-11-07 18:32:43 +00:00
claudiulodro
6b514aaab8
Make underscores the default
2017-11-07 08:45:05 -08:00
Gerhard Potgieter
e0a55cb8dd
input to button for submit in wc-template-functions.php
2017-11-07 10:40:28 +02:00
Gerhard Potgieter
2171ae7c0a
PHPCS fixes for wc-template-functions.php
2017-11-07 10:39:10 +02:00
claudiulodro
c3689134d0
Underscores wrappers
2017-11-06 13:46:50 -08:00
Claudiu Lodromanean
d0c1f16f26
Merge pull request #17533 from woocommerce/fix/17509
...
Remove kses from term description
2017-11-02 10:47:57 -07:00
Mike Jolley
92a8bdf616
Remove kses from term description
...
Closes #17509
2017-11-02 17:13:02 +00:00
Mike Jolley
eb1bcee8b9
For code doing it wrong, ensure priority is set
2017-11-02 11:13:24 +00:00
Claudio Sanches
9e29ed0bda
Removed wp_kses_post() from product archive description
...
Fixes #17492
2017-11-01 14:16:19 -02:00
Claudio Sanches
d23448a823
Merge branch 'master' into fix/17300-search-orderby
2017-10-25 20:53:25 -02:00
Gerhard Potgieter
7ab0b25ba5
Only set to relevance when the orderby is set to menu_order
2017-10-20 10:33:21 -07:00
Gerhard Potgieter
5d9efb7885
Set orderby to relevance when searching for products. Closes #17300
2017-10-20 10:28:23 -07:00
Gerhard Potgieter
f9cff6e3f8
PHPCS Fixes. @claudiosanches Would you mind reviewing these as it is quite a lot of changes.
2017-10-20 10:24:56 -07:00
Mike Jolley
4844abc326
add woocommerce_cross_sells_order
...
Filter to control sort direction.
2017-10-20 09:11:00 -07:00
Mike Jolley
a6059ea759
Remove menu-ordering sorting
2017-10-11 21:36:13 +01:00
Mike Jolley
d72f6ae22c
Ensure query_vars is set. Closes #17044
2017-10-04 15:37:43 +01:00
Lane Goldberg
fb8bac5957
make hidden country/state readonly
...
make hidden country / state fields read only. fixes #17026
2017-10-02 15:24:37 -04:00
Mike Jolley
3a17d48af2
Added screen reader text to quantity input template
...
Closes #16909
2017-09-26 12:05:09 +01:00
Mike Jolley
220b37d5f2
Show sorting on search results but default to relevance
...
Closes #16565
2017-08-24 12:58:50 +01:00
Claudio Sanches
909c3f6c8f
Fixed extra "!" and ")" on #16489
2017-08-17 19:05:46 -03:00
Alex James Bishop
d4a02819a7
Add filter to woocommerce_order_again_button to match WC_Form_Handler->order_again
...
This commit adds the `woocommerce_valid_order_statuses_for_order_again` filter to the conditional check
before displaying the order-again button.
The purpose is to enable consistency when altering the valid order again statuses - in the past a dev would
need to use this filter to let the order through the form handler, and then override the template file for a really
trivial reason just to get the button to display.
2017-08-17 11:31:06 +09:30
Paul Robinson
7c01201e34
Add custom attributes into radio fields for woocommerce_form_field
2017-07-21 14:23:21 +01:00
Adrian Mörchen
d7484336c1
Fixed wrong class reference in comment
2017-07-20 13:29:54 +02:00
Jaydeep Rami
3522857d23
Fix typo in WooCommerce plugin ( #16135 )
...
* Fixed typo
* Fixed more typo
* Fixed more typo
* Fix tyop
* Fix more typo
* Fix more typo
* Fix typo
* Fix typo
* Fix typo
* Fix typo datatime object
* Fix short name of compat
* Fix typo: update short name
* Fix typo "deactive" to "deactivate" and short BW - Compat
* Fix typo "Backwards compat"
* Fix typo 'parameters'
* Fix more typo 'pararmeters'
* Fix typo 'compund'
* FIx typo order
* Fix typo
* Fix typo 'incorrecly'
* Fix typo 'genarate'
* Fix typo 'reletive'
* Fix typo 'Handly'
* Fix typo 'rotatated'
* Fix typo
* Fix typo 'additonal'
* Fix typos
2017-07-17 11:10:52 +01:00
Mike Jolley
fdcf16bb60
Merge branch 'master' into update/15563
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/helper-rtl.css
# assets/css/helper.css
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-07-12 16:18:13 +01:00
Caleb Burks
572cf3813f
Spacing/typo fix
...
Should really combine all three of these filters into one as well.
2017-07-11 13:37:43 -05:00
Mike Jolley
3939f50ced
Download display in account/checkout
2017-07-11 13:45:35 +01:00
Farook Ibrahim
d0489206a7
minor typo fix
2017-07-06 17:24:28 +05:30
claudiulodro
506c01f56a
Fix codesniffer violations
2017-06-27 14:19:59 -07:00
Claudio Sanches
5bc03b41cf
Redirect ?customer-logout=true to the correct endpoint
...
Checking also for `'true' === $wp->query_vars['customer-logout']` to avoid infite loops when permalinks are deactivated and "My account" is the front page.
Closes #15789
2017-06-27 14:10:20 -03:00
Mike Jolley
dbe9705e4b
Disable search engines indexing core, dynamic, cart/checkout pages.
2017-06-21 12:52:52 +01:00
Mike Jolley
98684233dc
Filter visible children when outputting grouped products
2017-06-20 15:01:14 +01:00
Mike Jolley
ccad987bac
Allow state field to have the correct country set by passing it through
...
Fixes #15632
2017-06-16 11:45:53 +01:00
Mike Jolley
0b14e91a60
Merge pull request #15533 from woocommerce/fix/order-item-meta-formatting
...
Removes the use of strip_tags() when outputting order item meta
2017-06-13 11:35:03 +01:00
Mike Jolley
636ad8b652
Add a nonce and confirmation for logging out via the customer my account page
2017-06-12 14:02:29 +01:00
Matt Cohen
e644bccbe8
Removes the use of strip_tags() when outputting order item meta, to account for basic HTML tags, hyperlinks, etc.
2017-06-09 11:00:23 +02:00
Mike Jolley
5ee38c54c2
Option to disable reviews globally
2017-06-08 15:26:30 +01:00
Mike Jolley
41e8b22b5a
Merge branch 'pr/15219'
2017-05-23 19:28:45 +01:00
Mike Jolley
002dd935b5
Check we have a product object
2017-05-23 19:28:35 +01:00
Mike Jolley
c16acc6b51
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
2017-05-23 19:00:24 +01:00