The Dramatist
1783953f15
Admin metaboxes views translation escaping fix ( #17776 )
...
* Data escaped and validated. Plus translator comment documentation added.
* If it should be int then we should change the empty string default parameter to 0 as in 'if' condition checking 0 and empty string are same.
* Extra bracket removed.
* Indentation is fixed now.
* The taxonomy object should not be assigned to a variable before checking if this is a taxonomy or not.
* echo esc_attr__ replaced by esc_attr_e and visually tested.
* As I use WordPress VIP Coding Standard, they were marking them as warnings. But now it's fixed again.
* Escaping fix
* Extra Bracket Fix Again
2017-11-21 17:50:30 +00:00
Mike Jolley
698db6c131
When custom attributes are created, they are decoded. Make the values match.
...
When we create/link variations, the entities are decoded.
When the variation form is posted, the entities are encoded (esc_attr).
This decodes them so they match correctly. Fixes #17820
2017-11-20 20:51:32 +00:00
The Dramatist
67aced7d62
Unused variable removed and some comment added. ( #17786 )
2017-11-20 11:47:16 +00:00
claudiulodro
dd0f748211
Fix invalid html
2017-11-16 08:01:59 -08:00
Mike Jolley
541dde95b3
Merge pull request #17710 from woocommerce/fix/17697-coupon-spend-incl-taxes
...
Coupon min/max spend based on displayed subtotal
2017-11-16 10:59:43 +00:00
Gerhard Potgieter
3af77f13d8
Change tooltip to just say subtotal
2017-11-16 12:28:43 +02:00
Gerhard Potgieter
4521011219
Adjust discount on min/max spend to work based on the displayed subtotal.
2017-11-15 13:44:07 +02:00
Mike Jolley
8dcd7f5b59
Merge pull request #17696 from yratof/patch-1
...
Removed class within class for admin meta boxes
2017-11-15 10:02:19 +00:00
Andrew Lazarus
ba52e583f9
Removed class within class
...
'<div class="class="wc-order-item-name"">` outputs `<div class="class=" wc-order-item-name="">`
2017-11-14 16:01:57 +01:00
Mike Jolley
3621736400
PHPCS
2017-11-13 16:24:33 +00:00
Mike Jolley
f1f30fc8de
Fix download link
2017-11-13 16:10:32 +00:00
Mike Jolley
3e7968d37b
Merge branch 'master' into pr/16418
2017-11-13 14:37:18 +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
Gerhard Potgieter
0c5a208057
Change input to button for submit in class-wc-meta-box-order-actions.php
2017-11-06 15:23:00 +02:00
Gerhard Potgieter
8bb051fdcf
PHPCS fixes for class-wc-meta-box-order-actions.php
2017-11-06 15:20:37 +02:00
Mike Jolley
90203dc704
Set placeholder for variation lxwxh
...
Fixes #17559
2017-11-06 10:44:49 +00:00
Mike Jolley
2e1e9291bc
Remove trailing `.`
...
@claudiulodro Only affects master.
2017-11-02 18:29:34 +00:00
Mike Jolley
ff02941a53
Merge branch 'pr/17434'
2017-11-01 12:32:52 +00:00
Mike Jolley
80dfbc0ced
phpcs tweaks and escaping
2017-11-01 12:32:35 +00:00
veisis
fbd1b114db
Class name fix in docblock
2017-11-01 11:59:49 +02:00
Shiva Poudel
289842aacf
Tweak - Order panel meta description
2017-10-28 06:37:29 +05:45
Gerhard Potgieter
1ee7033678
Only invoice in dropdown, too many customer usage.
2017-10-27 17:05:35 +02:00
Gerhard Potgieter
980d688ca0
Change invoice email title to "Customer invoice / Order details"
2017-10-27 15:01:02 +02:00
Gerhard Potgieter
e4c961c3ba
Merge pull request #17194 from woocommerce/update/email-tweaks
...
Email template and admin tweaks
2017-10-13 17:10:08 +02:00
Mike Jolley
7df8f6bec6
Resend new order notification option
...
@kloon Stole your code.
Ref: #17186
2017-10-13 14:54:12 +01:00
Mike Jolley
98eeafcc29
Hide shipping/discount rows when not needed and match email wording.
2017-10-13 14:01:20 +01:00
claudiulodro
b5e02ea6f6
Add extra lines back in admin order summary
2017-10-12 14:01:11 -07:00
Mike Jolley
e0421cd7bc
Replay protection on refunds
...
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.
Fixes #13614
2017-09-28 16:17:13 +01:00
Claudio Sanches
6164be51d3
Escape classes in data panel
2017-09-25 10:56:14 -03:00
Mike Jolley
45aaa22bb9
correct isset
2017-09-25 12:22:17 +01:00
Shakeeb Sadikeen
da6a37c0d1
fixed : custom tab with no class error
...
when class is not passed with custom tab. echo's undefined index error with classes fixed
2017-09-20 22:14:58 +05:30
Mike Jolley
8b4086caf2
Hide link to non-existing coupons
2017-08-24 17:08:34 +01:00
Josh Smith
49c7449e8b
Merge remote-tracking branch 'upstream/master'
2017-08-23 22:41:04 +00:00
Mike Jolley
f18a146d0f
Prompt to apply fee in admin
2017-08-23 11:22:18 +01:00
Josh Smith
1734580b0a
[ #12517 ] Order download permissions: Use i18n number formatting on download count and proper escaping on report links
2017-08-23 03:03:27 +00:00
Josh Smith
413444c616
Merge remote-tracking branch 'upstream/master'
2017-08-20 04:09:17 +00:00
Claudiu Lodromanean
a4d3518a61
Merge pull request #16508 from woocommerce/remove-manual-discounts
...
Removed manual discounts code
2017-08-18 08:30:07 -07:00
Mike Jolley
1f692ffb64
Merge pull request #16485 from Korkey128k/master
...
Wrapped 'Delete selected row(s)' button in condition
2017-08-18 15:38:14 +01:00
Mike Jolley
e99471c0cd
Removed manual discounts code
2017-08-18 10:36:10 +01:00
Corey Smith
a6cf08d8cf
Wrapped 'Delete selected row(s)' button in condition
2017-08-16 11:56:30 -05:00
Rami Yushuvaev
4ae42313ce
i18n: Rewrite the translation string logic
...
The single translation string `by` is not easy to translate without a context. In this case, using the context function `_x()` is not the best solution.
A better way would be to create two complete translation strings for refund with a user and without a user.
2017-08-16 14:25:38 +03:00
Claudiu Lodromanean
15179b0e48
Merge pull request #16416 from woocommerce/manual-discounts-on-fees-shipping
...
Manual discounts on fees and shipping
2017-08-11 11:30:27 -07:00
claudiulodro
46e003d3c6
Remove shipping and discount lines
2017-08-11 11:10:44 -07:00
Mike Jolley
2c5a5b9409
Discounts should be last
2017-08-11 16:15:53 +01:00
claudiulodro
3618ef1725
Handle couple todos
2017-08-10 13:37:05 -07:00
claudiulodro
9e70a74857
Styling
2017-08-10 13:29:32 -07:00
Mike Jolley
e2599d83c8
Apply methods
2017-08-10 14:22:27 +01:00
claudiulodro
a416ebe09b
It kind-of works.
2017-08-09 14:55:35 -07:00
Mike Jolley
e429a27ba4
No need for 'off'
2017-08-09 19:12:33 +01:00
Mike Jolley
c556facd41
Fix percent coupon and display
2017-08-09 19:02:10 +01:00