Mike Jolley
86a225a8d9
Newsletter signup
2017-08-08 18:00:47 +01:00
Mike Jolley
5443f44fcc
Improve location step
2017-08-08 17:32:21 +01:00
Mike Jolley
c486cea531
copy fix
2017-08-08 17:21:01 +01:00
Mike Jolley
e82ca1c1a6
Styling and unknown plugin detection
2017-08-08 17:12:50 +01:00
Mike Jolley
202498298e
Merge pull request #16374 from woocommerce/fix/12273-4
...
Product attributes helper functions implementation
2017-08-08 11:51:38 +01:00
Mike Jolley
a4b81c2a22
Merge pull request #16252 from helgatheviking/issues-16221-settings-save-order
...
Move settings init/save to load-$settings hook. Closes #16221
2017-08-08 11:40:17 +01:00
Claudio Sanches
1a9b499be8
Apply attribute helper functions to importers and REST API
2017-08-07 22:34:25 -03:00
Claudio Sanches
70e0ab857e
Implement attributes functions to admin
2017-08-07 22:34:20 -03:00
Claudio Sanches
a3a3d7c242
Initial implementation of product attribute helper functions
2017-08-07 22:33:57 -03:00
claudiulodro
c8a7ac8940
Unit tests
2017-08-07 14:31:58 -07:00
Mike Jolley
8db31eefe2
Fix variable stock status setting by using CRUD methods
...
Closes #16287
2017-08-07 15:16:38 +01:00
Patrick Garman
1314158a14
Add “site size” areas to system status report
...
The size of the site very much impacts the status of the site. This type of information would be extremely helpful when supporting a site.
1) post counts - can reveal high volumes of specific kinds of post types both within WC (orders, products, etc) or outside (revisions, attachments, third party ones, etc)
2) table sizes - a site with a 5MB postmeta table is very different than a site with a 5GB postmeta table, which is different than a site with a 50GB postmeta table, and require different kinds of support and focus.
2017-08-06 01:15:10 -04:00
Josh Smith
644ac674d7
[ #12517 ] Replace download_id on customer download and product download with static UUID instead of filename based hash, to preserve download links, logs, and permissions across filename changes
2017-08-05 04:42:31 +00:00
Josh Smith
677b81174e
[ #12517 ] Add statistic on download count to download permissions listings on order details page
2017-08-05 04:35:37 +00:00
Josh Smith
dfeead42a5
[ #12517 ] Add download log report to WC admin reports, with link from Order details Downloads section
2017-08-03 21:24:53 +00:00
claudiulodro
c634ac6cf1
Prevent auto updates if dangerous.
2017-08-03 11:42:19 -07:00
Mike Jolley
958bd092ba
Add date/time to hover.
...
Closes #16331
2017-08-03 08:48:17 +02:00
Mike Jolley
d79ebf7a2f
Typo in tag text, fixes #16332
2017-08-03 08:19:57 +02:00
claudiulodro
338f51df31
Remove duplicate class
2017-08-02 14:59:01 -07:00
claudiulodro
7f614d17d4
Modularize to corral different areas better
2017-08-02 14:57:17 -07:00
claudiulodro
7c0afc1fed
Comments
2017-08-01 15:24:15 -07:00
claudiulodro
9b22463c69
Little cleanup
2017-08-01 15:17:35 -07:00
claudiulodro
343b3913a4
Updates screen modal.
2017-08-01 15:04:11 -07:00
Beka Rice
e78b4d4d1e
Fix PHP deprecation notice
2017-07-31 17:16:08 -04:00
Will G
3a6a8872f3
Fix script 'async' property typo in WP_Admin_Help
2017-07-28 16:05:06 -04:00
Kathy Darling
fe0c190894
Move settings init/save to load-$settings hook. Closes #16221
2017-07-25 14:43:26 -04:00
Jaydeep Rami
46d3638089
Fix missing return statement ( #16148 )
...
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
* Fix missing return statement
2017-07-20 18:01:14 +01:00
Mike Jolley
916294b7d0
Use comment_status input name
...
Closes #16153
2017-07-19 15:18:33 +01:00
Mike Jolley
0d7cb826cb
Restore transient
2017-07-17 19:36:45 +01:00
Mike Jolley
5642ee0c4d
Only check active plugins
2017-07-17 19:35:14 +01:00
Mike Jolley
0b606c8bbe
Styling and code tidy
2017-07-17 19:30:21 +01:00
Mike Jolley
ece770490f
Escape and localise
2017-07-17 18:14:38 +01:00
Mike Jolley
809ff9c31d
correct escaping
2017-07-17 18:13:18 +01:00
Mike Jolley
8c17027eb6
Merge branch 'master' into improvement/versions
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/helper-rtl.css
# assets/css/helper.css
# assets/css/twenty-seventeen-rtl.css
# assets/css/twenty-seventeen.css
# assets/css/wc-setup-rtl.css
# assets/css/wc-setup.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-07-17 18:04:28 +01: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
claudiulodro
35c4c7fbe6
v2
2017-07-14 13:47:29 -07:00
claudiulodro
129763dadf
Split up notices
2017-07-14 12:44:16 -07:00
Claudio Sanches
4d3d377bcf
Merge pull request #16127 from woocommerce/fix/16119
...
Importing products with relative fields and skus
2017-07-14 12:55:11 -03:00
Claudio Sanches
4f7b152b96
Merge pull request #16120 from woocommerce/fix/16118
...
Cast report data to floats
2017-07-14 12:34:00 -03:00
Mike Jolley
f63b2e24df
Merge pull request #16125 from websupporter/issue-16124
...
Switch to coupons internal get_email_restrictions() (solves #16124 )
2017-07-14 12:34:43 +01:00
Mike Jolley
02dc61677a
Improve cleanup of fails
2017-07-14 11:38:49 +01:00
websupporter
72baa43fe2
switch to coupons internal get_email_restrictions()
2017-07-14 13:37:00 +03:00
Mike Jolley
44ef034a94
Cast report data to floats
...
#16118
2017-07-14 10:26:07 +01:00
claudiulodro
40198bf2c8
Modal beta
2017-07-13 15:38:12 -07:00
Claudio Sanches
97f9dab0ce
Applies wc_get_order_notes() on admin
2017-07-13 19:33:20 -03:00
claudiulodro
addee6335c
Save incase of accidental update
2017-07-13 13:16:35 -07:00
claudiulodro
20ebe8c193
Modal
2017-07-13 12:47:13 -07:00
claudiulodro
45ba7fcbbb
Corral things together
2017-07-13 11:00:39 -07:00
Mike Jolley
37fc4c8f77
Ajaxify the product category filter ( #16110 )
...
* Ajaxify the product category filter
Closes #12773
* Min
2017-07-13 17:04:40 +01:00
Mike Jolley
d63cf8c52f
add next button to pointers and allow it to be dismissed
...
Closes #15858
2017-07-13 13:09:52 +01:00
claudiulodro
b355e016cd
Do notice in a pop-up
2017-07-12 12:38:19 -07:00
Konstantin Kovshenin
75e3f3973b
Helper: Fix plugin information modals for some extensions.
...
Adds a woo- prefix to the slug when fetching update information
for themes and extensions. Allows us to look up these slugs later
when fetching plugin information and pass the correct product id
to the /info endpoint.
2017-07-12 19:14:48 +03:00
Konstantin Kovshenin
c91922a004
Helper: Add a label to lifetime subscriptions.
2017-07-12 18:37:10 +03:00
Claudiu Lodromanean
de21898b70
Merge pull request #16090 from woocommerce/fix/16084
...
Sanitize keys in reports class
2017-07-12 08:05:11 -07:00
webspecnick
49ba871795
Add enclosure and escape arguments to importer. Introduce filter to change importer arguments ( #16053 )
...
* Introduce woocommerce_product_csv_importer_args filter.
* Add extra args to WC_Product_CSV_Importer. Have fgetcsv use extra args
* Update to follow coding standards.
2017-07-12 12:11:44 +01:00
Mike Jolley
25cbd4ada8
Sanitize keys in reports class
2017-07-12 10:53:39 +01:00
claudiulodro
8dd21ec1c4
Resolve merge conflicts
2017-07-11 12:11:01 -07:00
claudiulodro
c557a71f14
Better phrasing
2017-07-11 12:04:43 -07:00
claudiulodro
0444cdef3c
Initial notice implementation
2017-07-11 11:59:39 -07:00
claudiulodro
f79c4a254c
Good progress
2017-07-11 07:52:40 -07:00
Mike Jolley
5c32abfe6b
Merge pull request #16054 from woocommerce/fix/16043
...
Fix styling and connect button in non-english languages
2017-07-11 10:49:09 +01:00
Claudio Sanches
1c18a458be
Merge pull request #15994 from woocommerce/fix/15964
...
Correct embed code
2017-07-10 15:30:25 -03:00
Mike Jolley
e432d2d0ad
Fix styling and connect button in non-english languages
2017-07-10 16:29:06 +01:00
Akeda Bagus
53807185a8
Fixed typos.
...
These typos are catched by `misspell` program.
```
find . -type f | grep -v assets | grep -v dummy-data | grep -v i18n | grep -v node_modules | grep -v .git | grep -v apigen | xargs misspell -w
```
Some results were excluded because of 3rd party ownership and non-english
sentences.
2017-07-10 12:56:28 +07:00
Claudio Sanches
66895afb38
Added comment to remember about CloudFlare email obfuscation
2017-07-07 18:26:53 -03:00
Claudio Sanches
86d09b0c6a
Avoid CloudFlare email obfuscation.
...
Closes #15082
2017-07-07 15:45:05 -03:00
Mike Jolley
f79f5bb5cb
Simply enables drag and drop sorting on the grouped product field
...
Fixes #14560
2017-07-07 14:20:30 +01:00
Claudio Sanches
fe9dd86482
Merge pull request #16001 from woocommerce/fix/format
...
Fix code formatting
2017-07-06 18:29:53 -03:00
Claudiu Lodromanean
74d6c2378b
Merge pull request #16000 from woocommerce/fix/csv-mapping
...
Change how mapping is posted
2017-07-06 11:37:24 -07:00
claudiulodro
863193bd34
Fix linting problems
2017-07-06 11:12:02 -07:00
Mike Jolley
b91da6f021
Change how mapping is posted
2017-07-06 18:51:36 +01:00
claudiulodro
be2bbd3d3d
Update missed select2
2017-07-06 10:43:10 -07:00
claudiulodro
8a8daabf26
Update with master and recompile assets
2017-07-06 09:06:30 -07:00
claudiulodro
a2867fae6a
Set up select2 and selectWoo
2017-07-06 08:43:10 -07:00
Mike Jolley
ec9a380143
Correct embed code
2017-07-06 12:32:28 +01:00
Refael Iliaguyev
40ef76c12b
Add rtl support for activation.css
2017-07-06 09:03:15 +03:00
Claudio Sanches
10f039ad79
Merge pull request #15827 from woocommerce/fix/15818
...
If stock changes between page load and editing, reject stock changes
2017-07-05 15:49:58 -03:00
Mike Jolley
beba2757ee
feedback
2017-07-05 17:11:34 +01:00
Claudio Sanches
d2f9211ffb
Removed non-existing classes from refunds form on admin
2017-07-04 17:27:25 -03:00
Claudio Sanches
2d8902c91f
Hide Cross-sells if external, removed in #15692
2017-07-04 16:44:08 -03:00
Claudio Sanches
74cba6f863
Merge branch 'master' into grouped-products-settings-improvement
2017-07-04 16:41:33 -03:00
Claudio Sanches
00237a6de9
Merge pull request #15959 from woocommerce/update/15949
...
Extra error checking in terms page content
2017-07-04 12:25:44 -03:00
Job
f67bf6892e
Coupon help ( #15958 )
...
* Solves #15945
Change description of help tip to be accurate for current coupon system
* update caps use on PR
2017-07-04 12:07:26 +01:00
Caleb Burks
02ffdaf8f5
Remove unnecessary variable
...
Don’t this change any longer. Got rid of a foreach loop that was using it.
2017-07-04 01:44:10 -05:00
Caleb Burks
c7693b201d
Require T&Cs be a different page than checkout
2017-07-04 01:36:34 -05:00
Dale Phurrough
25ec8e4985
fixes woocommerce/woocommerce#15896
2017-06-30 21:20:23 +02:00
Claudiu Lodromanean
3fc26b7e24
Merge pull request #15890 from woocommerce/fix/15870
...
7day should start from midnight, not current time
2017-06-30 09:19:45 -07:00
Claudiu Lodromanean
2aaa0003d4
Merge pull request #15891 from woocommerce/fix/15874
...
Admin status update should be marked as a manual status transition
2017-06-30 09:13:16 -07:00
Mike Jolley
77c938202f
Merge branch 'add/15602-store-street-level-address'
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
2017-06-30 15:00:51 +01:00
Mike Jolley
d6131f3a74
Field styling
2017-06-30 14:59:45 +01:00
Mike Jolley
58593a154d
Admin status update should be marked as a manual status transition
...
Closes #15874
2017-06-30 11:40:52 +01:00
Mike Jolley
472b983498
7day should start from midnight, not current time
...
Fixes #15870
2017-06-30 11:34:07 +01:00
Mike Jolley
277ccf0ad7
Merge pull request #15677 from ughimire/no-std
...
Tweak - Added remove icon on my account page dropdown of account page
2017-06-29 22:55:10 +01:00
Caleb Burks
029c28a462
Fix copy/paste fail
2017-06-27 23:55:14 -05:00
Caleb Burks
290a90c8f8
Add post states for WC pages
2017-06-27 23:38:09 -05:00
Mike Jolley
1265633286
If stock changes between page load and editing, reject stock changes
...
Fixes #15818
2017-06-27 21:22:46 +01:00
Claudio Sanches
b9c76c568b
Prefer "live rates form"
2017-06-27 17:00:48 -03:00
Claudio Sanches
a0425ad1b9
Remove Canada Post duplicated description
...
Duplicated with description from
includes/admin/class-wc-admin-setup-wizard.php:506
2017-06-27 16:57:46 -03:00
Claudio Sanches
fbd92c8105
Merge pull request #15815 from woocommerce/fix/15794
...
Prevent duplicate sections in tax and api endpoints
2017-06-27 13:01:05 -03:00
Claudiu Lodromanean
5bbe82571f
Merge pull request #15814 from woocommerce/fix/15804
...
Fix notice and missing terms in importer
2017-06-27 08:45:52 -07:00
Mike Jolley
33a4e74697
Prevent duplicate sections in tax and api endpoints
2017-06-27 14:58:33 +01:00
Mike Jolley
591cac37d1
Increased batch size
2017-06-27 14:39:18 +01:00
Daniel Hüsken
d6377c9609
will improve #15806
2017-06-27 14:43:51 +02:00
Daniel Hüsken
84881c3e36
Importer fix file type detection on local path
2017-06-27 14:21:05 +02:00
Claudio Sanches
ab9c331a8d
Merge pull request #15785 from woocommerce/fix/15781
...
Importer tweaks and fixes
2017-06-26 16:07:19 -03:00
claudiulodro
ee9c762bdc
Enqueue selectWoo
2017-06-26 11:50:08 -07:00
Claudio Sanches
1fb11d0be7
Merge pull request #15783 from woocommerce/fix/15770
...
After duplicating variations, ensure the duplicated object is current
2017-06-26 13:41:17 -03:00
Mike Jolley
04a27389ef
Clean up failed imports
2017-06-26 14:11:27 +01:00
Mike Jolley
372d7f6077
After duplicating variations, ensure the duplicated object is current
...
Fixes #15770
2017-06-26 12:54:46 +01:00
Mike Jolley
4972e83e51
Merge pull request #15775 from dixitadusara/issue/15772
...
issue solved Pass more params to woocommerce_duplicate_product_exclude_children filter
2017-06-26 12:24:37 +01:00
dixitadusara
f77d2184ca
issue solved Pass more params to woocommerce_duplicate_product_exclude_children filter
2017-06-26 12:34:20 +05:30
Claudio Sanches
783f2318c4
Fixed undefined variable for importer default mapping
2017-06-23 15:33:37 -03:00
Mike Jolley
13d7be2422
Merge pull request #15755 from woocommerce/fix/15754
...
Fix method title escaping in zones
2017-06-23 16:17:54 +01:00
Mike Jolley
1d9148241c
Merge pull request #15751 from woocommerce/feature/helper
...
Helper copy update
2017-06-23 16:17:24 +01:00
Mike Jolley
43dc9ec823
Fix method title escaping in zones
...
Closes #15754
2017-06-23 12:50:32 +01:00
José Marques
22da32bd9c
Helper: removes unnecessary caps in copy
2017-06-23 12:49:05 +01:00
José Marques
f0f6495dc5
Helper: updates conpy and button class on connection screen
2017-06-23 09:29:20 +01:00
Claudio Sanches
25a2ee0ca8
Use default English mapping when English is not the current language
2017-06-22 18:07:12 -03:00
Claudio Sanches
1806590e71
Invert special importer mapping options to allow multiple keys
2017-06-22 18:06:10 -03:00
claudiulodro
7bb5dffc2f
Flip param count and priority
2017-06-22 09:10:52 -07:00
Mike Jolley
d1ad5a92d2
Merge pull request #15721 from woocommerce/feature/helper
...
Helper Bug Fixes
2017-06-22 16:17:56 +01:00
Konstantin Kovshenin
29c000207a
Helper: Escape sites_active and sites_max on subscription output.
2017-06-22 17:17:49 +03:00
Konstantin Kovshenin
45a6c45b8f
Helper: Better code readability for primary/secondary classes.
2017-06-22 16:59:39 +03:00
Konstantin Kovshenin
0786c31d15
Helper: Escape `master_user_email` on output.
2017-06-22 16:49:10 +03:00
Konstantin Kovshenin
0cd10a12ef
Helper: Move subscription sorting into methods for PHP 5.2 compat.
2017-06-22 16:47:07 +03:00
Gerhard Potgieter
b15e576f5b
Use !empty instead of isset for checking master_user_email
2017-06-22 11:10:33 +02:00
Konstantin Kovshenin
4cb1c8f7ce
Helper: Add missing period at the end of a sentence.
2017-06-22 11:28:28 +03:00
Konstantin Kovshenin
74da37890f
Helper: Fix undefined notices on button label and URL.
2017-06-22 11:26:26 +03:00
claudiulodro
fcd5460ec0
Check filetype in CSV upload
2017-06-21 11:50:03 -07:00
Konstantin Kovshenin
5b7070d2ea
Helper: Sort subscriptions by name.
2017-06-21 18:43:19 +03:00
Konstantin Kovshenin
e67babf77a
Helper: Fix download button class for expiring subscriptions.
2017-06-21 18:15:45 +03:00
Gerhard Potgieter
6d3e3fd5e5
Merge branch 'feature/helper' of github.com:woocommerce/woocommerce into feature/helper
2017-06-21 16:58:26 +02:00
Gerhard Potgieter
e08df8d2aa
Adjust messaging and display information for collaborator accounts on woocommerce.com subscription page.
2017-06-21 16:57:16 +02:00
Konstantin Kovshenin
346b446283
Helper: Fix label for maxed out subscriptions.
2017-06-21 17:50:34 +03:00
Konstantin Kovshenin
41ea3f3f43
Helper: Pass a migrate flag if migrating during token exchange
2017-06-21 16:23:57 +03:00
Konstantin Kovshenin
16f2541e9b
Helper: Set helper compat screen slug to woothemes-helper.
...
Previously the helper compat screen used a different slug, but
since updates can be done without refreshing the screen via AJAX
the old menu item doesn't disappear until a full refresh. This fix
allows users to navigate to that same menu item and not get an
error.
2017-06-21 15:28:30 +03:00
Caleb Burks
cfbd56c04a
Remove some settings for grouped products
...
Purchase notes and Cross-sells aren’t needing as you can never add a grouped product to your cart or purchase it.
2017-06-20 21:04:56 -05:00
Caleb Burks
f13c4c3b30
Hide Cross-sells for external products
2017-06-20 20:56:54 -05:00
Mike Jolley
91511bd92a
Merge pull request #15631 from woocommerce/update/13738
...
Create a way to 'resend order details'
2017-06-20 15:09:10 +01:00
Caleb Burks
ae6a5e34f2
Move “Grouped products” setting to the top
2017-06-19 21:59:42 -05:00
Allen Snook
0f311f0cba
Add address, address 2, city and postcode to setup wizard
2017-06-19 12:22:05 -07:00
Allen Snook
61a8d858b5
Update address labels in settings to better match customer address labelling
2017-06-19 11:28:42 -07:00
Mike Jolley
acf0026834
Update description for exclude_sale_items
2017-06-19 11:56:04 +01:00
Umesh Ghimire
3f2742fd6f
Tweak - Add remove icon on Account page my account page dropdown
2017-06-19 12:59:12 +05:45
Claudiu Lodromanean
1b04963f27
Merge pull request #15659 from woocommerce/fix/15642
...
Fix webhook saving and ping only once
2017-06-16 11:01:08 -07:00
Claudiu Lodromanean
fac4114bae
Merge pull request #15654 from woocommerce/fix/15640
...
Add missing nonce to product sales report
2017-06-16 10:43:10 -07:00
Mike Jolley
42ebde73cd
Fix is_webhook_settings_page
2017-06-16 13:58:28 +01:00
Mike Jolley
b4ea8bb94f
clean up comparison operators
2017-06-16 13:53:57 +01:00
Mike Jolley
f8ca27f32e
Add missing nonce to product sales report
...
Fixes #15640
2017-06-16 11:51:00 +01:00
Allen Snook
21d2bee658
Add store street, city and postcode fields to settings > general
2017-06-15 09:56:52 -07:00
Mike Jolley
3c6635a0f6
Remove all emails except for the invoice email
2017-06-15 15:14:10 +01:00
Mike Jolley
b3fcbc56ba
Tweak sent message
2017-06-15 15:13:59 +01:00
Job
8b48accc01
Upsell/up-sell
...
We had a few different usages of up-sells and upsells in the copy -
“Upsells” were used more and also seems to be more correct English so
I’ve updated the “up-sells”
2017-06-15 15:56:01 +02:00
Mike Jolley
75041b6dca
Remove email based actions from order screen
2017-06-15 14:19:05 +01:00
Mike Jolley
8bd7f89f73
Clear placeholder data after import
2017-06-14 16:38:07 +01:00
Mike Jolley
907b986d4f
Tweak wording
2017-06-14 16:37:53 +01:00
Konstantin Kovshenin
247e13e2ca
Helper: Various Improvements ( #15519 )
...
* Helper: Improve messaging and CTAs
* Helper: Update copy on connect flow
* Helper: Improve messaging around plugins without a subscription
* removes toggle from extensions that cannot be activated
* Helper: Add new `WC_Helper_Compat` class for legacy helper compat
This new class removes some of the actions from the legacy helper
(updater) plugin, attempts to migrate an existing legacy connection
to a new one, attempts to deactivate the old helper plugin.
* Helper: Improve messaging around maxed out subscriptions
* Helper: Enable `WC_Tracker` when connected to WooCommerce.com
* Helper: adds styles for manual licence form row and other visual improvements
* Helper: removes disabled toggles
* Helper: adds styles for connection component
* Helper: redesigned connection module
* Helper: rotates the connection module chevron on mouse hover
* Helper: adds some fixes to the key form on mobile and other updates to meet coding standards
* Helper: Only mark action as primary if there's a CTA button.
* Helper: Better handling for woothemes_updater_notice
Remove the updater notice built into extensions and themes, even
if the legacy Helper plugin is deactivated.
* Helper: Navigate existing Helper users to the new place.
Adds a Dashboard menu item and direct users of the old helper
plugin to the new Extensions screen.
* Helper: Do not show the back-compat menu item for new users
* Helper: Avoid notice in API authentication if credentials are missing
* Helper: Hide the back-compat menu item when users see the new screen
Also sets the user_id for the connection if one was not previously set.
2017-06-14 14:12:53 +01:00
Mike Jolley
4a4e201888
Copy tweaks for catalog visibility
...
Ref #15604
2017-06-14 12:07:20 +01:00
Valerie K
66259ebff1
Update WooCommerce Services copy ( #15598 )
...
* Remove excess explanation from wizard shipping step
* Remove distracting link from shipping wizard page
* Update copy on extensions WCS banner
* Update copy on WCS extensions banner for Canada
* Fix extensions WCS banner when read from json
* Add Canada copy on wizard shipping step
* Use strict array comparison in WCS shipping tout
* Add service logos to WCS extension banner
* Use strict array comparison in WCS banner
* Remove related extensions when showing WCS banner
- when store is based in Canada remove Canada Post
extension from shipping page
- when store is based in US remove USPS
extension from shipping page
* Add image alt for logos on WCS banners
* Update WCS banner and wizard content
2017-06-14 11:24:45 +01:00
Mike Jolley
393f1be092
Merge pull request #15580 from woocommerce/refactore/improve-importer-mapping-options
...
Better importer mapping options
2017-06-13 12:15:33 +01:00
Mike Jolley
1a6e477c83
Merge pull request #15579 from woocommerce/fix/importer-delimiter
...
Start handle importer delimiter
2017-06-13 11:57:10 +01:00
Umesh Ghimire
b5cd0a8680
Space after parentheses
2017-06-13 09:52:27 +05:45
Claudio Sanches
e6b5ac83c4
Better importer mapping options
...
- Rearranged fields to make easy to find
- Grouped price fields
- Include context to "Stock" since could means different things depending on the language
2017-06-12 18:08:23 -03:00
Claudio Sanches
2702647f88
Start handle importer delimiter
...
This make able handle the delimiter input passing to mapping screen and to the AJAX importation process.
2017-06-12 17:47:20 -03:00
Umesh Ghimire
71c22cadf1
Fixed - Directory separator issue on windows for product import file fixed.
2017-06-10 08:50:41 +05:45
Mike Jolley
3367047c8e
Update total orders and items
2017-06-09 15:07:31 +01:00
Mike Jolley
4a56c8b92a
Fix indent
2017-06-09 09:36:44 +01:00
nishitlangaliya
9ba5f534ea
Fixed Don't show 'Restock refunded items' ref #14888
2017-06-09 09:06:57 +05:30
Claudio Sanches
8b3d1046e0
Merge pull request #15515 from woocommerce/update/15399
...
Tweak review settings and add global enable option
2017-06-08 15:53:00 -03:00
Mike Jolley
5ee38c54c2
Option to disable reviews globally
2017-06-08 15:26:30 +01:00
Mike Jolley
b4040b1335
Translate quick edit text
2017-06-08 14:24:28 +01:00
Mike Jolley
32aca8cc39
String clarification
2017-06-08 14:08:48 +01:00
Mike Jolley
0d4dc49bd3
Break up verified owner and rating options
2017-06-08 14:06:15 +01:00
Mike Jolley
4ea9ab46a7
Avoid slow substring query
2017-06-08 12:21:55 +01:00
Mike Jolley
75480ab99f
Show notes in order list
2017-06-08 12:17:46 +01:00
Mike Jolley
eddcb16e00
Update copy + css for zones
...
Closes #15031
2017-06-06 13:46:09 +01:00
Mike Jolley
d62aefba74
Merge branch 'master' into fix/15414
...
# Conflicts:
# includes/wc-core-functions.php
2017-06-06 12:55:50 +01:00
Mike Jolley
c77347da48
Merge pull request #15459 from woocommerce/fix/14659
...
Make phone number clickable
2017-06-06 11:52:05 +01:00
Claudio Sanches
6c42f3c16a
Properly sanitization for wc_make_phone_clickable() and fixed coding standards
...
Closes #14659
2017-06-05 16:15:04 -03:00
Claudio Sanches
f65005be41
Merge pull request #14719 from avinapatel/fix-14659
...
Made the buyer phone number clickable in the in the order backend.
2017-06-05 15:47:16 -03:00
Claudio Sanches
4aec4efa67
Merge pull request #15432 from woocommerce/update/wcs-banner-responsive
...
Update WooCommerce Services extensions banner
2017-06-05 15:36:22 -03:00
Claudio Sanches
527fa0d07a
Fixe CHMOD
2017-06-05 14:45:30 -03:00
Valerie
70570f3745
Update WCS banner style
2017-06-05 11:30:42 -04:00
Valerie
baf405fdcf
Update WCS banner image
2017-06-05 11:28:37 -04:00
Valerie
8939dfc1a5
Update WCS banner text
2017-06-05 11:28:37 -04:00
Mike Jolley
b4098a7472
Use WP date format in admin
...
Closes #15453
2017-06-05 15:58:29 +01:00
Mike Jolley
67a0637417
Advanced locale switching
2017-06-05 14:18:39 +01:00
José Marques
3d516ab9cd
removes checkbox toggle markup and replaces inactive toggles links with spans
2017-06-02 11:22:48 +01:00
José Marques
be229a3e5b
replaces active/deactivate buttons with toggles
2017-06-01 12:51:45 +01:00
Claudio Sanches
5369bae987
Merge branch 'master' into add/wcs-banners
2017-05-31 16:02:38 -03:00
Claudio Sanches
08f4d7b2f2
Merge pull request #15310 from woocommerce/update/add-woo-services-in-wizard
...
Add WooCommerce Services to Setup Wizard
2017-05-31 15:48:42 -03:00
Nabeel Sulieman
5f0c84ee13
payment_gateways should be payment-gateways
2017-05-31 11:44:52 -07:00
Claudio Sanches
b93d286985
Stop auto skip column map and remove all related code
2017-05-31 14:59:17 -03:00
Nabeel Sulieman
62d7937a52
Only queue woocommerce services install if it's not active
2017-05-31 09:36:33 -07:00
Nabeel Sulieman
27a3e83642
- WooCommerce services enabled by default
...
- Clicking "skip" on shipping page should disable shipping
2017-05-31 09:36:32 -07:00
Mike Jolley
fc5b4f0482
Only show no_shipping_methods notice if services is not being installed
2017-05-31 09:36:32 -07:00
Mike Jolley
c25b844761
Tweak handler
2017-05-31 09:36:32 -07:00
Mike Jolley
c53c83aebb
Tweak test and styling
2017-05-31 09:36:32 -07:00
Nabeel Sulieman
c49fa38e2c
Make units controls look the same for touted and non-touted
...
Rename local functions to "location"
2017-05-31 09:33:50 -07:00
Nabeel Sulieman
e940544a2a
Use Inches and Ounces as default measurement units when location is in
...
US
2017-05-31 09:33:19 -07:00
Nabeel Sulieman
ce5aff0236
Improve wording of measurement units on shipping page
2017-05-31 09:33:19 -07:00
Jeff Stieler
3ced364583
When checking for North American stores, default location to GeoIP if the option hasn’t been set.
2017-05-31 09:31:59 -07:00
Jeff Stieler
736d3e9f94
Remove “taxes” from shipping step naming.
2017-05-31 09:31:59 -07:00
Jeff Stieler
d60a4fc1da
Add missing name to WooCommerce Services plugin installation info.
2017-05-31 09:31:59 -07:00
Jeff Stieler
7dcaff3e39
Handle update of weight/dimension units in the wizard shipping step instead of locale.
2017-05-31 09:31:59 -07:00
Jeff Stieler
466cee9fc9
Update tax rates upon store location change.
2017-05-31 09:31:59 -07:00
Jeff Stieler
86f6921ced
Handle SCRIPT_DEBUG config for setup wizard script includes.
2017-05-31 09:31:59 -07:00
Jeff Stieler
f52eab71d2
Update wizard shipping step copy to match latest designs.
2017-05-31 09:31:58 -07:00
Jeff Stieler
42dfdc7e3c
Schedule single install event for WooCommerce Services when saving the shipping step.
2017-05-31 09:31:58 -07:00
Jeff Stieler
cd15b6fbc6
Fix shipping enable input name.
2017-05-31 09:31:58 -07:00
Jeff Stieler
1492c50373
Add skip/continue buttons back to wizard shipping step.
2017-05-31 09:31:58 -07:00
Jeff Stieler
b52b38ecb0
Properly translate strings on the shipping wizard step.
2017-05-31 09:31:57 -07:00
Jeff Stieler
6111437750
Only show WooCommerce Services tout when the store is in North America.
2017-05-31 09:31:57 -07:00
Jeff Stieler
0a63b83c7c
Move dimension and weight inputs to shipping step.
2017-05-31 09:31:57 -07:00
Nabeel Sulieman
1122faf760
Implement WooCommerce Services NUX in Setup Wizard:
...
- Rename "shipping locale" to "shipping location"
- Move tax setup to to shipping location page
- Rename shipping & taxes to just shipping
- Implement radio button selection to enable/disable shipping
- Add checkbox for installing WooCommerce services
- Start updating wc-admin css and javascript
2017-05-31 09:31:57 -07:00
Jeff Stieler
c212725053
Use WC_Install class to install/activate WooCommerce services from the Extensions page.
2017-05-31 09:27:19 -06:00
Jeff Stieler
d8e508842d
Allow all aspects of the WCS banner block to be overwritten by JSON data.
2017-05-31 09:27:18 -06:00
Jeff Stieler
9b6b4928a6
Show WCS banner on extensions page for both USA and Canada.
2017-05-31 09:27:18 -06:00
Jeff Stieler
0293884660
PHP 5.2+ compatibility - don’t use array dereferencing.
2017-05-31 09:27:17 -06:00
Valerie
e7672d6572
Enable WCS banner on shipping extension page
2017-05-31 09:27:17 -06:00
Valerie
3b689b5da9
Enable WCS banner on featured extension page
2017-05-31 09:26:17 -06:00
Valerie
870e3ddea2
Add WCS banner addons block markup
2017-05-31 09:26:17 -06:00
Mike Jolley
d8edc8a965
Always map
2017-05-31 15:07:07 +01:00
Mike Jolley
532ddfa6b0
Merge conflicts
2017-05-31 12:23:52 +01:00
Mike Jolley
e185d5572b
Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests
2017-05-31 12:19:58 +01:00
Mike Jolley
72ddb1f23d
Merge branch 'feature/product-csv-import-export' into feature/15302
...
# Conflicts:
# includes/export/class-wc-product-csv-exporter.php
2017-05-31 12:13:42 +01:00
Claudio Sanches
d6fb028481
Allow import and create new global attributes
2017-05-30 18:46:32 -03:00
Mike Jolley
85b8d8661a
Merge pull request #14595 from woocommerce/feature/helper
...
Helper: First pass at merging the Helper plugin into WooCommerce
2017-05-30 20:39:08 +01:00
Konstantin Kovshenin
aa6353bfa1
Helper: Clean up navigation/headings, remove some noop markup.
2017-05-30 22:26:33 +03:00
Claudio Sanches
40c2b471f5
Grouped products after cross sells as in the admin screen
2017-05-30 14:50:54 -03:00
Konstantin Kovshenin
1dc7e507b1
Helper: Redesign (work in progress)
2017-05-30 20:50:14 +03:00
Konstantin Kovshenin
556c2cf84c
Helper: Add tabbed interface to WooCommerce > Extensions
2017-05-30 19:46:26 +03:00
Claudio Sanches
73e34b583f
Fixed generic stock mapping
2017-05-30 13:04:16 -03:00
Claudio Sanches
ffd248f19d
Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests
2017-05-30 13:03:17 -03:00
Claudio Sanches
9556e248a4
Missing tax class
2017-05-30 12:52:29 -03:00
claudiulodro
7cf62bb023
Set up and add extra mappings
2017-05-29 11:16:44 -07:00
Claudio Sanches
c73461f440
Merge pull request #15332 from woocommerce/fix/15307
...
Hide replies from recent reviews widgets
2017-05-29 12:00:57 -03:00
Mike Jolley
934e95bc8b
Merge pull request #15308 from woocommerce/fix/15297
...
Grouped product support in importer/exporter
2017-05-29 10:13:45 +01:00
Mike Jolley
4251d71dab
Hide replies from recent reviews widgets
...
Fixes #15307
2017-05-29 10:09:17 +01:00
claudiulodro
759fcae533
Use 'grouped_products' for grouped products
2017-05-28 12:37:18 -07:00
Peter
314f64b566
Change the name of the new action
...
Change the name of the new action to woocommerce_after_order_fee_item_name.
2017-05-28 20:40:59 +02:00
Claudio Sanches
77fcaf3392
Fixed images map handler
2017-05-26 19:30:42 -03:00
Claudio Sanches
4bc139fef9
Fixed conflicts
2017-05-26 19:09:57 -03:00
Claudio Sanches
4d66bc9e45
Merge branch 'feature/product-csv-import-export' into refactor/fix-importer-and-improve-unit-tests
2017-05-26 19:07:46 -03:00
Claudio Sanches
fe67ca0aff
Fixed images mapping key
2017-05-26 18:58:35 -03:00
Claudio Sanches
780ce1a4e6
Fixed deprecated `set_stock` notice
2017-05-26 18:42:07 -03:00
Claudio Sanches
d2c3bf362f
Normalize column names
2017-05-26 18:01:15 -03:00
claudiulodro
9b925d28ec
Grouped product child support
2017-05-26 13:30:17 -07:00
claudiulodro
d362d47995
Get external products working
2017-05-26 11:26:55 -07:00
Peter
05516dbea5
New action for display order fee custom data
...
We need to display custom data in fee lines, similarly to woocommerce_after_order_itemmeta action in shipping line items.
2017-05-26 10:05:26 +02:00
Konstantin Kovshenin
dda05889eb
Helper: Avoid an undefined warning in the main template
2017-05-25 23:44:29 +03:00
claudiulodro
df06d6f942
Merge remote-tracking branch 'origin/feature/product-csv-import-export' into HEAD
2017-05-25 12:41:26 -07:00
claudiulodro
6d098b9c21
Clean up and some tests
2017-05-25 08:41:11 -07:00
Mike Jolley
42c3c9e593
Remove extra full stop
2017-05-25 12:36:12 +01:00
Anwer AR
c4fcddca73
Back to attributes link on attributes edit page ( #15088 )
...
* see #15059 The issue was about editing product attributes. Added back to attributes link.
* Updates admin_url to esc_url
* Added admin_url again wrapping inside esc_url
The function works without admin_url in my previous commit. but i have added admin_url again to make sure it points to correct location.
* Correctted typo of esc function and removed icon
correction of spell mistake and removal of &larr due to translation and RTL concerns. though WP and WC itself using &larr on some places.
2017-05-25 11:15:57 +01:00
Dixita Dusara
fe4a4a7e83
Update issue Undefined index warning when saving variations with stock management disabled #15242 ( #15271 )
...
* Issue Undefined index warning when saving variations with stock management disabled #15242
* updated issue as per your suggestion for index warning when saving variations with stock management disabled #15242
2017-05-25 10:58:32 +01:00
Mike Jolley
28d355948f
docblock
2017-05-24 19:11:16 +01:00
Konstantin Kovshenin
8b5c5c0bd6
Helper: Add better update URLs to theme subscriptions
2017-05-24 18:15:07 +03:00
Konstantin Kovshenin
f912f39364
Helper: Add better update URLs to plugin subscriptions
2017-05-24 18:11:37 +03:00
Konstantin Kovshenin
353eac70ca
Helper: Remove some legacy updater notices
2017-05-24 18:10:31 +03:00
roykho
c837827992
Fix undefined global variable notice
2017-05-24 07:21:20 -07:00
Claudio Sanches
5f28c733cc
Merge pull request #15234 from woocommerce/update/14630
...
Update serializejson to 2.8.1
2017-05-24 09:21:10 -03:00
Konstantin Kovshenin
e8afe57593
Helper: Add contextual nags about available extension updates
2017-05-24 14:59:48 +03:00
Claudio Sanches
da7d5786d3
Merge branch 'feature/product-csv-import-export' into feature/product-parser-match-exporter
2017-05-24 08:56:27 -03:00
Claudio Sanches
b08c75fb83
Added handler for default attributes and improved how deal with product attributes
2017-05-24 08:14:10 -03:00
Konstantin Kovshenin
a1b3d2834b
Helper: Fix duplicate product output
2017-05-24 13:04:52 +03:00
Claudio Sanches
cd4a9ccf6a
Fixed mapping sample display of 0 and false
2017-05-24 03:57:36 -03:00
Claudio Sanches
c08d3a356e
Added support "Attribute %d Visible"
2017-05-24 03:42:38 -03:00
Claudio Sanches
b10f3a3be9
Fixed coding standards
2017-05-24 03:26:17 -03:00
Claudio Sanches
43a26ea851
Properly map items when CSV match WooCommerce exporter format
2017-05-23 21:38:27 -03:00
Mike Jolley
c5d7dfba6c
Feedback
2017-05-23 19:46:46 +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
Mike Jolley
d3666738d8
Merge branch 'pr/15069'
2017-05-23 18:56:58 +01:00
Mike Jolley
00e5189a05
Merge pull request #15070 from rasmusbe/phpdoc-missing-return-throws
...
Phpdoc: Add missing return and throws
2017-05-23 18:50:58 +01:00
Mike Jolley
15f47e00a2
Merge branch 'master' into feature/13088
...
# Conflicts:
# assets/css/admin-rtl.css
# assets/css/admin.css
# assets/css/twenty-seventeen-rtl.css
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-rtl.css
# assets/css/woocommerce.css
2017-05-23 16:35:17 +01:00
Mike Jolley
db012b3a12
Merge pull request #15011 from woocommerce/fix/14999
...
Add abspath checks
2017-05-23 15:57:35 +01:00
Mike Jolley
2d479e0580
Update serializejson to 2.8.1
...
Closes #14630
2017-05-23 15:27:53 +01:00
Mike Jolley
b1a5b23629
Done screen handling and form tweaks
2017-05-23 15:05:32 +01:00
Mike Jolley
f09f7eb84e
Merge pull request #15150 from woocommerce/fix/15118
...
Add handles so drag and drop does not break edit on mobile
2017-05-23 10:20:08 +01:00
Claudio Sanches
ac304473c7
Allow external URL and button text for external products
2017-05-22 20:18:39 -03:00
claudiulodro
cb297ad1b0
Add skip existing option
2017-05-19 10:58:31 -07:00
Mike Jolley
754e991220
Redirect if there is no mapping data
2017-05-19 15:06:36 +01:00
Mike Jolley
cde32be82d
Done step and styling
2017-05-19 13:25:03 +01:00
Mike Jolley
1617c62f47
Export text tweaks
2017-05-19 12:03:34 +01:00
Claudio Sanches
74b4ba8a94
Improved sanitization in product CSV importer and handle special columns
2017-05-18 21:18:47 -03:00
Claudiu Lodromanean
a13668f201
Merge branch 'feature/product-csv-import-export' into feature/background-processing
2017-05-18 10:11:34 -07:00
claudiulodro
9d52ef9f61
Performance tweak
2017-05-18 10:05:31 -07:00
claudiulodro
83908bc735
Move file functions to abstract class
2017-05-18 09:59:40 -07:00
claudiulodro
b2e8d31262
Clean up
2017-05-18 09:49:58 -07:00
Mike Jolley
89ece25a32
Fix stock/backorder notice when stock management is disabled
...
Fixes #15145
2017-05-18 15:28:38 +01:00
Mike Jolley
c3c966b5fd
Add handles so drag and drop does not break edit on mobile
...
Fixes #15118
2017-05-18 15:22:12 +01:00
Claudio Sanches
36fa838678
Allow extend auto mapping options
2017-05-17 21:10:26 -03:00
Claudio Sanches
df63ea9b5a
Handle special column names
...
Handle columns names like "Attribute 1 Name" and "Meta: _foo_bar".
2017-05-17 20:59:36 -03:00
claudiulodro
2ab0fdfe78
Styling
2017-05-17 14:55:20 -07:00
claudiulodro
fa1446bc86
Clean up
2017-05-17 14:43:03 -07:00
claudiulodro
17083dafae
Initial background importer implementation
2017-05-17 14:34:49 -07:00
Claudio Sanches
d3ec48f378
Match regular fields between exporter and importer
2017-05-17 17:55:28 -03:00
Claudio Sanches
ce6741e117
Fixed error display and incorrect use of WP_Error
2017-05-17 14:57:03 -03:00
Claudio Sanches
215a9fa0c1
Fixed warning about empty callback name
2017-05-17 14:43:48 -03:00
Mike Jolley
956b1a6181
Adds storefront/theme step to the setup wizard
...
Also includes a background install to get Storefront installed and
activated on demand.
To test, use a default theme and go to wp-admin/index.php?page=wc-setup
The theme step will be after payments!
2017-05-17 17:42:18 +01:00
claudiulodro
adc8f4eacb
Use correct method name
2017-05-17 09:15:49 -07:00
claudiulodro
d6ef3ca855
Docblock tweak and remove unused query var
2017-05-17 08:51:45 -07:00
Mike Jolley
a6537ff269
export styling
2017-05-17 14:22:41 +01:00
Mike Jolley
d67fb8fb83
New style import controller
...
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley
bf2979f68d
Revert change - export directory contains logic only, not admin
2017-05-17 11:50:55 +01:00
Mike Jolley
8a48c7d388
Made exporter and importer screens, classes and directories consistent
...
Once merged, @claudiosanches @claudiulodro, we should work on
https://github.com/woocommerce/woocommerce/tree/feature/product-csv-impo
rt-export branch going forward and get this merged into it.
2017-05-17 11:24:27 +01:00
Mike Jolley
3d5f1c1fe6
Merge branch 'feature/product-csv-import-export' into feature/csv-importer
2017-05-17 10:36:39 +01:00
Kelly Dwan
3cb3a1b085
Style & escaping fixes, based on review feedback
2017-05-16 14:01:14 -04:00
Mike Jolley
5939939244
Wizard and blank state
2017-05-16 15:36:56 +01:00
Mike Jolley
7293025c92
Import page placeholder
2017-05-16 15:21:35 +01:00
Mike Jolley
2ba6613abe
Hide export menu item
2017-05-16 15:21:29 +01:00
Mike Jolley
74e2f61f0c
Import and export buttons
2017-05-16 15:06:22 +01:00
Mike Jolley
6949ee162e
Reduce visual noise
2017-05-16 15:05:11 +01:00
Claudio Sanches
020e61927b
Created abstract product class
2017-05-16 01:02:46 -03:00
Claudio Sanches
cc05ed77d2
Properly display the importer results
2017-05-15 20:41:19 -03:00
Claudio Sanches
121f8f6315
Abstract the product importer
2017-05-15 19:49:53 -03:00
Kelly Dwan
ce06a92e57
Profiles: Add get_user_meta helper, which can fall back on core user fields when applicable, such as first_name, last_name, and email for billing fields.
2017-05-15 17:10:31 -04:00
Kelly Dwan
faea811a92
Customer profile: Add a “Copy from billing” button to shipping user meta fields
2017-05-15 17:09:02 -04:00
Claudiu Lodromanean
05132f724c
Merge pull request #15067 from woocommerce/fix/15047
...
$post global is not required in meta box callback
2017-05-15 10:35:07 -07:00
Rasmus Bengtsson
185934fad9
Fix phpdoc to include params and correct types
2017-05-15 13:50:52 +02:00
Mike Jolley
31651e41cb
Merge pull request #15063 from rasmusbe/unused-vars
...
Remove unused local variables
2017-05-15 12:45:54 +01:00
Rasmus Bengtsson
4f00d7e5e3
PHPDoc: Add missing return statement
2017-05-15 13:37:59 +02:00
Mike Jolley
7c63c21eaf
$post global is not required in meta box callback
...
Fixes #15047
2017-05-15 12:29:11 +01:00
Rasmus Bengtsson
6a7fc8650f
Remove unused local variables
2017-05-15 12:06:52 +02:00
Rasmus Bengtsson
51fd482206
Remove duplicate entries from defined arrays
2017-05-15 10:48:02 +02:00
Mike Jolley
e777b4d557
Merge branch 'feature/product-csv-import-export' into feature/csv-exporter
2017-05-12 21:03:20 +01:00
Mike Jolley
523d9d27cd
Styling
2017-05-12 20:40:54 +01:00
Mike Jolley
ed32dd558d
Nonces and further tidyup
2017-05-12 20:15:08 +01:00
Mike Jolley
5e9f908df7
Merge pull request #15051 from reescott/fixlogtable
...
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 19:47:18 +01:00
Scott Rees
b7b75c83f7
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 10:22:31 -07:00
claudiulodro
824d8898a2
Fix unit tests
2017-05-12 08:44:02 -07:00
Mike Jolley
a35df1394c
Delay final step
2017-05-12 15:26:53 +01:00
Mike Jolley
0bf749aeac
Move js into script file
2017-05-12 15:03:00 +01:00
Mike Jolley
8fe0f03a95
Type exporting
2017-05-12 14:48:30 +01:00
Claudio Sanches
ed09b4e350
Updated to sanitize data in parse_data method
2017-05-11 11:49:45 -03:00
Claudio Sanches
9a25f09c7b
Included $item to woocommerce_csv_product_import_mapping_options filter
2017-05-10 18:57:57 -03:00
Claudio Sanches
0ec70e6b92
Allow import as meta
2017-05-10 18:56:29 -03:00
Mike Jolley
4cacceeede
Variation handling
2017-05-10 22:16:53 +01:00
Claudio Sanches
6f34cdd9cf
Skip mapping screen if all fields match CSV default fields
2017-05-10 17:56:00 -03:00
Claudio Sanches
244fb00a27
Initial mapping screen
2017-05-10 17:15:28 -03:00
Mike Jolley
825dcda917
Selective export
2017-05-10 20:48:56 +01:00
Mike Jolley
523cf5d4ed
Protect against missing order in admin assets
...
Closes #15000
2017-05-10 19:26:30 +01:00
Mike Jolley
bc4d36fd3f
Add abspath checks
...
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley
fd3bf05017
Working prototype exporter for products
2017-05-10 17:22:08 +01:00
claudiulodro
2cf4fcf8d1
formatting
2017-05-08 13:28:55 -07:00
claudiulodro
d4ca99342e
Line up items and some tweaks
2017-05-08 12:01:55 -07:00
claudiulodro
88d013bdd5
phpcs recommendations
2017-05-08 11:34:50 -07:00
claudiulodro
a1580624f1
Couple tweaks
2017-05-08 11:30:56 -07:00
claudiulodro
5a963f74c2
Clean p
2017-05-04 14:27:40 -07:00
claudiulodro
b907aa74f6
Finish parser and unit test
2017-05-04 14:20:59 -07:00
claudiulodro
d642212205
More parser progress
2017-05-03 14:53:31 -07:00
claudiulodro
1f10995d80
Parser progress
2017-05-03 14:30:50 -07:00
Claudio Sanches
6f126d7c60
Merge pull request #14853 from woocommerce/fix/14818
...
Improve "Save Order" button to reproduce WordPress post/page behavior
2017-05-03 17:36:22 -03:00
Claudio Sanches
63552c9757
Fixed conflict between global attributes and custom attributes.
...
Check if is a custom attribute before trying to get an ID from a global attribute.
2017-05-03 16:30:50 -03:00
Claudio Sanches
67258ec8da
Improve "Save Order" button to reproduce WordPress post/page behavior
...
Display "Create" when order is in "auto-draft" status and then display only "Update" after.
Closes #14818
2017-05-03 15:06:06 -03:00
Konstantin Kovshenin
dc2360711f
Helper: Toggle subscription on plugin activation/deactivation
...
When a user activates or deactivates an extension, attempt to find
a valid subscription for that extensioni, and activate/deactivate it
to spare the user an extra step.
2017-05-03 14:37:36 +03:00
Konstantin Kovshenin
39218ea323
Helper: Remove everything related to woocommerce.dev
2017-05-03 13:45:43 +03:00
Konstantin Kovshenin
564327cac3
Helper: Use strict comparison when checking response code from update-check
2017-05-03 13:34:55 +03:00
Konstantin Kovshenin
ca93452354
Helper: Fix some missing docblocks
2017-05-03 13:33:39 +03:00
claudiulodro
f2af2d4e7c
Data reader
2017-05-02 15:06:54 -07:00
claudiulodro
7531d0a022
Importer admin screen
2017-05-01 14:30:45 -07:00
Claudio Sanches
e46cb8813d
Fixed undefined customer_user when remove users from order in admin
2017-04-28 13:13:18 -03:00
Mike Jolley
d744dce594
get_settings for shipping and checkout need to support sections for the API
...
Fixes #14769
2017-04-28 14:37:44 +01:00
Mike Jolley
d14a679e70
Merge pull request #14697 from bekarice/tweak/confirm-log-deletion
...
Confirm before deleting log files
2017-04-28 12:57:48 +01:00
claudiulodro
027e7b1f94
Add restored webhook
2017-04-27 11:44:57 -07:00
Mike Jolley
ca0c3e0bb8
Merge pull request #14064 from rafsuntaskin/develop
...
added bulk variation update for stock status, resolves #14046
2017-04-27 17:37:59 +01:00
Mike Jolley
891e55e1cf
Merge pull request #14721 from woocommerce/fix/14670
...
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley
aacb01d1e7
Merge branch 'pr/13503'
...
# Conflicts:
# assets/css/twenty-seventeen.css
# assets/css/woocommerce-layout.css
# assets/css/woocommerce-layout.scss
# assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley
3403e39740
Add icons and fix links
2017-04-27 12:23:16 +01:00
Mike Jolley
bbffbd6a9f
Merge branch 'master' into maybe_blank_keys_webhooks
2017-04-27 12:11:27 +01:00
Mike Jolley
a5018f5531
Merge pull request #13409 from diggy/patch-1
...
filter recent reviews dashboard widget query
2017-04-27 11:41:36 +01:00
Mike Jolley
cf35375260
Merge branch 'pr/13712'
2017-04-27 11:39:44 +01:00
Mike Jolley
7e056adbae
Revise menu titles to match wp admin
2017-04-27 11:39:34 +01:00
Mike Jolley
57229d4b20
Merge pull request #14589 from woocommerce/add/shipping-zone-setup-in-wizard
...
Automatic Shipping Zone Creation In Setup Wizard
2017-04-27 11:28:23 +01:00
Konstantin Kovshenin
48a44eb7e5
Helper: Add some missing docblocks
2017-04-26 18:50:38 +03:00
Konstantin Kovshenin
c440994883
Helper: Don't use assignment in helper disconnect check
2017-04-26 18:39:26 +03:00
Konstantin Kovshenin
ed734f350d
Helper: Use date_i18n() instead of date()
2017-04-26 18:38:24 +03:00
Konstantin Kovshenin
eacffb823a
Helper: Add l10n functions to all strings
2017-04-26 18:36:20 +03:00
Konstantin Kovshenin
2e55b3076d
Helper: Yoda condition in _http_request_host_is_external
2017-04-26 18:33:17 +03:00
Konstantin Kovshenin
5e892f9081
Helper: Strict equality check on slugs in `plugin_information` calls
2017-04-26 16:04:46 +03:00
Konstantin Kovshenin
b4ba43f551
Helper: Use `wp_safe_remote_request` for external calls.
...
Also whitelists woocommerce.dev as an external URL if
WP_DEBUG is turned on.
2017-04-26 15:57:56 +03:00
Mike Jolley
801f5e1eb1
Avoid escaped quote chars in strings
...
Closes #14670
2017-04-26 13:51:53 +01:00
avinapatel
824f13924e
Made the buyer phone number clickable in the in the order backend.
2017-04-26 17:48:56 +05:30
Mike Jolley
63e8221e2c
Add required placeholder for meta fields
...
Closes #14700
2017-04-26 11:35:34 +01:00
Beka Rice
f65b817fcf
Code review tweaks
2017-04-25 21:45:42 -04:00
Beka Rice
c552362b73
Confirm before deleting log files
2017-04-25 17:10:47 -04:00
Jeff Stieler
142bb9b24a
Add “free shipping” method to the automatically created zone (via setup wizard).
2017-04-21 08:46:03 -06:00
Konstantin Kovshenin
9fe91c7a2e
Helper: Fix some phpcs issues
2017-04-21 15:35:27 +03:00
Konstantin Kovshenin
e8b9bc8f98
Helper: First pass at merging the Helper plugin into WooCommerce
...
* Connect a site to a WooCommerce.com account
* List available product subscriptions
* Activate/deactivate subscriptions and extensions
* Serve updates for active subscriptions
2017-04-21 15:05:44 +03:00
Jeff Stieler
d844709db5
Only create a shipping zone from the wizard on the first run.
2017-04-20 23:26:37 -06:00
Jeff Stieler
f2f803d007
Create a shipping zone containing the store’s country when enabling shipping calculation from the setup wizard.
2017-04-20 23:02:59 -06:00
Claudio Sanches
accf956632
Merge pull request #14500 from woocommerce/fix/14494
...
Removed the non-functional order total input and combine the recalculation buttons into one working button.
2017-04-20 00:43:22 -03:00
Claudiu Lodromanean
fe0ff8d795
Merge pull request #14526 from woocommerce/fix/14517
...
wp_die when WC_REST_System_Status_Controller is. not available on status report.
2017-04-19 10:14:58 -07:00
Mike Jolley
be96e8c8a1
Merge pull request #14506 from woocommerce/fix/14496
...
Prevent nonce check outside admin when calculating for reports
2017-04-19 15:05:31 +01:00
Mike Jolley
8ab10ade0e
Missing comma for code standards
...
WC_Admin_Customize is a 3.1 class
Closes #14522
2017-04-19 11:15:10 +01:00
Mike Jolley
335319e6ea
wp_die when WC_REST_System_Status_Controller is. not available on status report.
...
Closes #14517
2017-04-19 11:08:34 +01:00
Claudio Sanches
2da71bd7fb
Prevent nonce check outside admin when calculating for reports
...
Fix all REST API reports endpoints.
Fixes #14496
2017-04-18 20:33:25 -03:00
Claudio Sanches
185ae083a1
Merge pull request #14499 from woocommerce/help-video-updates
...
Updates & fixes some embed problems
2017-04-18 18:32:16 -03:00
Mike Jolley
cd7d6cf73d
Add refund_lines
2017-04-18 20:29:10 +01:00
Mike Jolley
2a4103d776
Removed the non-functional order total input and combine the recalculation buttons into one working button.
...
Fixes #14494
2017-04-18 19:44:42 +01:00
Ryan Ray
40da9faa1a
Updates & fixes some embed problems
...
Added a new combined Creating Products video.
Fixes other time stamp embeds that weren’t really working.
2017-04-18 13:18:00 -04:00
claudiulodro
f21e47f7d0
Update save logic to allow filtering
2017-04-17 14:45:53 -07:00
Claudiu Lodromanean
f7c166ca22
Merge pull request #14368 from mdrahul/Fix-14366
...
Reset ratings count when product is duplicated, ref #14366
2017-04-14 11:40:00 -07:00
mdrahul
b4ca263a4f
Reset ratings count when product is duplicated, ref #14366
2017-04-14 11:37:15 +05:30
Mike Jolley
41f7a637cd
Use refund date not order date in refund display
...
Fixes #14332
2017-04-13 13:24:48 +01:00
Mike Jolley
2f9a9589df
woocommerce_admin_order_date_format filter to replace old post_date_column_time
2017-04-11 12:41:30 +01:00
Claudio Sanches
394532c9ab
Merge pull request #14199 from woocommerce/add/visibility-terms-debug-14147
...
Add product visibility terms to system status report to help debug
2017-04-10 18:52:10 -03:00
Claudio Sanches
47a6741707
Merge pull request #14221 from woocommerce/fix/14216
...
Do not duplicate grouped products, only variations
2017-04-10 18:49:28 -03:00
Claudio Sanches
b79711b54c
Merge pull request #14141 from rellect/copy_suffix
...
Add back the (Copy) suffix for duplicated products
2017-04-10 18:16:09 -03:00
Mike Jolley
ade147ccc2
Do not duplicate grouped products, only variations
...
Fixes #14216
2017-04-10 21:45:57 +01:00
Mike Jolley
7d5efe4b78
Add product visibility terms to system status report to help debug
...
Closes #14147
2017-04-10 15:51:14 +01:00
refael iliaguyev
6ee1fb0a62
set empty string as slug
2017-04-08 18:14:34 +03:00
refael iliaguyev
5add77c201
add 'woocommerce' text domain
2017-04-08 15:59:01 +03:00
refael iliaguyev
3be5f80ee7
unset slug - fix #14128
2017-04-08 13:39:06 +03:00
refael iliaguyev
3af7452370
Add back the (Copy) suffix for duplicated products
2017-04-08 13:16:42 +03:00
Mike Jolley
e14eb70814
Skip reports if no product is found
2017-04-07 16:08:06 +01:00
Claudio Sanches
464ea7f01d
Fixed ccoding standards
2017-04-06 19:46:06 -03:00
Claudio Sanches
c4adec3e1a
Removed translatable function used for variables
2017-04-06 19:45:59 -03:00
Claudio Sanches
56b8a4661a
Merge pull request #14074 from woocommerce/fix/14067
...
Fixed sanitization of order items meta data
2017-04-06 18:14:34 -03:00
Mike Jolley
c1b670eaa6
Remove date on dupe
2017-04-06 22:11:00 +01:00
Claudio Sanches
af7f271de1
Fixed sanitization of order items meta data
...
Closes #14067
2017-04-06 17:58:24 -03:00
rafsuntaskin
ac5de585e5
added bulk variation update for stock status, resolves #14046
2017-04-07 02:11:04 +06:00
Claudio Sanches
4032167f6c
Removed extra variation description extra sanitization
2017-04-06 13:21:34 -03:00
Claudio Sanches
3fff61ea4e
Merge pull request #14043 from woocommerce/fix/missing-product-type-field
...
if product type field is not posted, we should maintain existing type, not change to simple
2017-04-06 11:58:55 -03:00
Mike Jolley
82cdf65c04
if product type field is not posted, we should maintain existing type, not change to simple
2017-04-06 15:56:55 +01:00
Claudio Sanches
550f7b4028
Merge pull request #13986 from woocommerce/fix/13954
...
Fixed "singular" and "plural" parameters of WP_List_Table instances
2017-04-06 10:33:43 -03:00
Claudio Sanches
168a4a3096
Merge pull request #13909 from woocommerce/fix/prevent-only-color-picker-to-flip
...
Prevent RTL flip only color picker inputs
2017-04-05 21:21:38 -03:00
Claudio Sanches
5bcace31fc
Fixed "singular" and "plural" parameters of WP_List_Table instances
...
Both should be slugs and not translatable.
Fixes #13954
2017-04-05 18:15:40 -03:00
Justin Shreve
6b6f48e7dc
Prior to 3.0 there was a woocommerce_debug_posting filter that could be used to add rows to the environment section of the system status page. It was removed. This PR adds it back as woocommerce_system_status_environment_rows and aliases/deprecates the old one.
2017-04-05 09:13:20 -07:00
Claudio Sanches
3920a12d71
Prevent RTL flip only color picker inputs
...
Fixes #13723
2017-04-04 17:27:11 -03:00
Claudio Sanches
d881bf0500
Coding standards and changelog for #13867
2017-04-04 11:40:02 -03:00
Claudio Sanches
faf0104b49
Merge pull request #13260 from JeroenSormani/product-data-tab-priority
...
Add 'priority' support to product data tabs
2017-04-04 11:33:48 -03:00
Claudio Sanches
ca23ea9ef2
Merge pull request #13815 from woocommerce/fix-13813-1
...
Include WooCommerce endpoints to customize nav menu setting
2017-04-04 11:03:26 -03:00
Mike Jolley
b2e4052e3b
Stock qty should be wrapped in wc_stock_amount
2017-04-04 13:35:31 +01:00
Mike Jolley
c844ec6487
Merge pull request #13817 from woocommerce/improvement-13716
...
Allow setup wizard filtering
2017-04-03 19:26:39 +01:00
Claudiu Lodromanean
ef7dbc75a1
bump down version number
2017-04-03 11:24:01 -07:00
Claudiu Lodromanean
82c3f93340
Change to single quotes
2017-04-03 09:54:24 -07:00
Mike Jolley
31cd2dcb90
Merge pull request #13853 from woocommerce/crud-security-hardening
...
CRUD security/hardening
2017-04-03 11:09:38 +01:00
Mike Jolley
75f79b3279
Se 20y limit on datepicker too
2017-04-03 10:46:37 +01:00
Claudio Sanches
4922e17876
Include missing REST API v2 from webhooks options.
2017-04-02 03:07:09 -03:00
Claudiu Lodromanean
955f20be80
Do custom buttons before Cancel and Save buttons
2017-03-31 11:28:00 -07:00
Claudiu Lodromanean
0d84865b0f
Pass wizard around
2017-03-31 10:32:19 -07:00
Mike Jolley
14802a0307
Remove double unserialization
2017-03-31 12:10:20 +01:00
Mike Jolley
b50312a1d8
Prevent bad timestamps being used for dates in reports and add nonce field
2017-03-31 11:50:11 +01:00
Claudio Sanches
61ec9b3e51
Updated version to 3.1.0
2017-03-29 17:56:03 -03:00
Claudio Sanches
84e428abd3
Use correct attribute type label in attributes admin screen
...
This allow use a translatable label for attribute type instead of
forcing English for everybody.
2017-03-29 17:50:09 -03:00
Claudiu Lodromanean
27e1cffa30
Better way of passing on the next stepg
2017-03-29 11:22:55 -07:00
Claudio Sanches
bbd54cc15f
Merge pull request #13816 from woocommerce/fix-13813-2
...
Fixed titles and items from WC_Admin_Menus::nav_menu_links()
2017-03-29 14:27:38 -03:00
Mike Jolley
4e58d40404
Merge pull request #13814 from woocommerce/fix-13813
...
Load custom "WooCommerce endpoint" metabox only in Appearance > Menus.
2017-03-29 18:20:52 +01:00
corsonr
0608eaf11a
Fix 13820
...
Add the “description” class to `.cancel_sale_schedule` so that the
“cancel” link gets aligned properly with a margin left of 7 pixels.
2017-03-29 10:01:45 +02:00
Claudiu Lodromanean
da0b048788
Allow setup wizard filtering
2017-03-28 14:45:12 -07:00
Claudio Sanches
987fff3775
Fixed titles and items from WC_Admin_Menus::nav_menu_links()
2017-03-28 18:33:06 -03:00
Claudio Sanches
989d60a60a
Include WooCommerce endpoints to customize nav menu setting
2017-03-28 18:07:00 -03:00
Claudio Sanches
0964847e28
Load custom "WooCommerce endpoint" metabox only in Appearance > Menus.
...
Closes #13813
2017-03-28 16:06:26 -03:00
Akeda Bagus
0b416439c8
Fixed all typos of all files in includes/ directory.
...
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell .
2017-03-29 00:58:51 +07:00
Mike Jolley
7202ebdb4a
Remove shipping from net sales
...
Fixes #13777
2017-03-27 12:18:09 +01:00
Mike Jolley
9260babfba
Fix end date when no date is set
2017-03-27 12:11:08 +01:00
Mike Jolley
5ceef2cdd5
Check we have a product object.
2017-03-24 15:02:51 +00:00
pierrebuet
32f8142c91
Fixes #13748
2017-03-24 12:13:00 +00:00
Mike Jolley
a0949747fa
Hide refund email from resend option
...
Closes #13713
See https://github.com/woocommerce/woocommerce/issues/13738
2017-03-23 11:25:03 +00:00
Mike Jolley
d9d62fac15
Merge pull request #13723 from rellect/colorpicker-rtl
...
RTL - prevent flipping of color input
2017-03-23 11:02:55 +00:00
refael iliaguyev
d8cd0a7550
prevent flipping of color input in rtl
2017-03-22 22:12:07 +02:00
Mike Jolley
b1e76fa68e
Merge pull request #13718 from rellect/correct-hours-minutes-rtl
...
RTL - Correct hour:minute input alignment in order details
2017-03-22 19:02:29 +00:00
refael iliaguyev
baef6f3907
correct hours:minutes inputs in rtl
2017-03-22 20:17:35 +02:00
Claudio Sanches
b528e25759
Improve address labels to help translations
2017-03-21 15:54:23 -03:00
Mike Jolley
e2c73c2277
Tweak labels for customer reg
...
Closes #13676
2017-03-21 13:23:38 +00:00
Mike Jolley
f14ce2f5f4
Merge branch 'pr/13663'
2017-03-20 16:25:37 +00:00
Mike Jolley
357227f46a
Code style
2017-03-20 16:25:30 +00:00
Mike Jolley
47036f2f48
Update setting wording
2017-03-20 16:08:53 +00:00
Krzysztof Grabania
b302d80707
Change default hidden shop_order columns
...
Since WC requires at least WP 4.4 we can use `default_hidden_columns` filter rather than creating user meta for hidden by default columns in shop orders. This PR also adds some conditional for hiding shipping or billing column based on `woocommerce_ship_to_countries` option.
2017-03-20 09:28:38 +01:00
corsonr
c126ee9a99
Add maybe blank check for API keys & webhooks
...
For consistency purpose in the way we display empty data (like orders
or coupons), the maybe blank check replaces the default empty table by
a more friendly message explaining the purpose of API keys and webhooks.
Results:
![](http://cld.wthms.co/cEF9+ )
2017-03-17 23:49:19 +01:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
d55653a408
Merge branch 'master' into fix-13498
...
# Conflicts:
# includes/class-wc-order.php
# tests/unit-tests/crud/data.php
2017-03-15 15:52:40 +00:00
Mike Jolley
a34dd0480d
Merge pull request #13587 from woocommerce/fix-13525
...
Update coupon date handling
2017-03-15 15:26:41 +00:00
Claudiu Lodromanean
3476121709
Use local time where appropriate
2017-03-14 10:27:48 -07:00
Claudiu Lodromanean
76536688e2
Use utc time for expiry box
2017-03-14 08:17:53 -07:00
Mike Jolley
7f787fac84
Check empty strings literally
...
Closes #13565
2017-03-14 12:17:49 +00:00
Mike Jolley
e13badcdb3
Merge pull request #13584 from woocommerce/13527-update-downloads-dates
...
Apply WC_DateTime to WC_Customer_Downloads
2017-03-14 12:11:28 +00:00
Claudio Sanches
f1c08f1a8e
Updated downloads view on admin
2017-03-13 20:54:43 -03:00
Claudiu Lodromanean
9b7c08fe8f
Update post type page with new date
2017-03-13 15:16:03 -07:00
Claudiu Lodromanean
12952ebcd0
Update coupon meta box with new date handling
2017-03-13 15:06:44 -07:00
Mike Jolley
9bee678819
API updates
2017-03-13 21:36:31 +00:00
Mike Jolley
dd1b8e35dc
API endpoints
2017-03-13 20:26:52 +00:00
Mike Jolley
c80fed52d8
Merge pull request #13571 from woocommerce/fix-13529
...
Check $_POST before trying to save order address inputs
2017-03-13 17:47:21 +00:00
Mike Jolley
38f31d3b8e
Remove broken coupon usage link
...
#13568
2017-03-13 17:27:59 +00:00
Claudiu Lodromanean
cf397cfbdd
Dont try and save inputs that arent there
2017-03-13 09:55:18 -07:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Mike Jolley
61484ed711
Update API endpoints
2017-03-10 18:54:59 +00:00
Mike Jolley
53962f1143
Other date_date call replacements
2017-03-10 16:43:05 +00:00
Mike Jolley
6848fad224
Merge branch 'timezone-poc' into fix-13498
2017-03-09 16:10:07 +00:00
Mike Jolley
a185e57ccb
Admin panel should not hide _ meta.
...
Fixes #13510
2017-03-09 11:45:22 +00:00
Mike Jolley
a598baaf9e
date helper methods
2017-03-09 11:06:36 +00:00
Mike Jolley
165cdca92b
Display date in admin using offset
2017-03-08 16:51:22 +00:00
Aristeides Stathopoulos
10ffc92a73
Inline control structures are not allowed
2017-03-07 22:24:24 +02:00
Aristeides Stathopoulos
70ee7ae7ea
Fix some PHPCS errors
2017-03-07 19:57:28 +02:00
Claudiu Lodromanean
527fb42771
Refactor empty option check
2017-03-02 08:21:20 -08:00
Claudiu Lodromanean
e132dcba17
Dont save empty text attributes
2017-03-01 10:39:08 -08:00
Peter J. Herrel
3f9bcc2a09
filter recent reviews dashboard widget query
2017-03-01 18:34:42 +01:00
Claudiu Lodromanean
84091e5d4b
Whitespace tweak
2017-02-28 09:49:15 -08:00
Ryan Ray
05a40d8df7
Merge branch 'master' into video-updates
2017-02-28 10:56:28 -05:00
Konstantinos Kouratoras
4d8714c50a
Fix a typo in help section
...
Fix `splease` typo in help section.
2017-02-28 13:24:30 +02:00
Mike Jolley
906bc70e74
Fix permalink base check
...
Closes #13374
2017-02-28 00:16:26 +00:00
Claudiu Lodromanean
4a4de2a951
Americanize some words
2017-02-27 14:59:37 -08:00
Mike Jolley
5c06a6a591
Missing wc_format_localized_price
...
Fixes #13356
2017-02-27 13:39:35 +00:00
Ryan Ray
024b77f088
Updated the embed code.
...
Added a few new videos.
Modified the videos to include more appropriate time stamps
2017-02-25 13:45:00 -05:00
Ryan Ray
b2107f1a62
Renaming what used to be WooCommerce 101 videos to the current Guided
...
Tour naming scheme.
2017-02-25 11:40:10 -05:00
Caleb Burks
e782760011
Clean up
...
These lines, so long ;p
2017-02-25 02:27:38 -06:00
Caleb Burks
21da6ee31c
Hide coupon free shipping conditionally
2017-02-25 02:16:30 -06:00
Claudio Sanches
a4d2048755
Fixed confuse translatable URLs
2017-02-24 16:41:56 -03:00
Claudio Sanches
bf51da64d7
Merge branch 'master' into fix-13335
2017-02-24 16:07:00 -03:00
Mike Jolley
f9b17ea681
Use edit context when duplicating sku
2017-02-24 11:42:28 +00:00
Claudio Sanches
ad09c23d1f
Fixed wrong index for _wc_variation_file_hashes, closes #13322
2017-02-23 18:17:44 -03:00
Mike Jolley
04aebd9fa7
Merge pull request #13306 from woocommerce/fix-13303
...
Fix multiple item additon to orders
2017-02-23 18:11:02 +00:00
Mike Jolley
aaecd9e97c
Handle _no_shipping_class
2017-02-23 15:48:53 +00:00
Mike Jolley
34d03e524a
woocommerce_date_input_html_pattern filter
...
Closes #13289
2017-02-23 12:57:33 +00:00
Mike Jolley
dec52e8be2
Fix multiple item additon
2017-02-23 10:19:15 +00:00
Claudio Sanches
53cf89f63a
Coupon amount should be localized
2017-02-22 18:58:32 -03:00
Claudio Sanches
e42e2a3335
Replace woocommerce_coupon_code filter by wc_format_coupon_code()
2017-02-22 14:40:24 -03:00
Mike Jolley
b409c1edef
Use CRUD in coupons list
2017-02-22 17:29:59 +00:00
Mike Jolley
3af989fa1b
Merge pull request #13281 from woocommerce/fix-13265
...
Fix sale date field
2017-02-22 16:18:35 +00:00
Mike Jolley
2ac125417f
Fix sale date field
2017-02-22 10:31:20 +00:00
Beka Rice
24b586c18f
Fixes coupon styles so admin CSS applies
2017-02-21 21:29:06 -05:00
JeroenSormani
097309a0c8
Add 'priority' support to product data tabs
2017-02-21 08:34:43 +01:00
Claudio Sanches
12d2d6656e
Merge pull request #13246 from woocommerce/fix-13233
...
Reset columns when invalid
2017-02-20 12:28:50 -03:00
Mike Jolley
35c3b829e4
Reset columns when invalid
2017-02-20 13:21:51 +00:00
Frédéric Demarle
048882f66d
Separate logic from action for product duplicate
2017-02-18 17:50:45 +01:00
Kathy
c30b1c1bb3
Coupon tweaks ( #13222 )
...
* pass coupon to applied/removed JS trigger
* add coupon id and coupon object to action hooks in admin metabox
2017-02-17 11:58:15 +00:00
Mike Jolley
1348f6efd7
Merge branch 'master' into db-schema-tweaks
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:33:20 +00:00
Mike Jolley
dd3d46ccaf
Merge branch 'master' into includes
...
# Conflicts:
# includes/admin/class-wc-admin-duplicate-product.php
2017-02-16 16:28:46 +00:00
Mike Jolley
2505abeb21
Merge pull request #13202 from woocommerce/fix-13199
...
Duplicate products; fix variation creation and add actions
2017-02-16 16:18:53 +00:00
Mike Jolley
4271352502
Escaping dates and statuses
2017-02-16 15:59:28 +00:00
Mike Jolley
bbf8e750ce
Tidy up includes
2017-02-16 11:46:01 +00:00
Mike Jolley
e07d9ad970
Actions and filters
...
Adds actions when duplicating things so objects can be changed, and
reinstates woocommerce_duplicate_product_exclude_meta which can unset
meta keys before save.
Closes #13180
2017-02-15 15:35:59 +00:00
Frédéric Demarle
f502e306e6
Add filter woocommerce_duplicate_product_exclude_children back
2017-02-14 16:39:49 +01:00
Mike Jolley
d080e135ee
Reduce `select *` usage
2017-02-13 12:58:42 +00:00
Mike Jolley
82d9abd4c5
Make sure enabled is checked by default
...
#13147
2017-02-10 17:43:32 +00:00
Mike Jolley
5349171083
This panel does not show in products anyway
...
Fixes #13133
2017-02-10 12:51:49 +00:00
Claudiu Lodromanean
ab8fb48bb4
Fix and standardize e-mail sending
2017-02-09 14:49:39 -08:00
Mike Jolley
962b60c8fe
kses/sanitize
2017-02-09 15:43:47 +00:00
Mike Jolley
1c10ad94cb
Remove order item column due to performance issues on orders screen
2017-02-09 12:29:16 +00:00
Mike Jolley
a7b2a0ac7c
Merge pull request #13107 from woocommerce/fix-12962
...
Add locale independent wc_get_permalink_structure function
2017-02-08 23:33:56 +00:00
Mike Jolley
649f55b494
Load default country/state on edit
...
Closes #13061 Fixes #12899
2017-02-08 10:56:00 +00:00
Mike Jolley
3b06660edf
Merge pull request #12917 from woocommerce/12170-rtl
...
#12170 Set up RTL generation and enqueuing
2017-02-08 10:29:55 +00:00
Mike Jolley
fcae260b43
Missing placeholder
2017-02-07 17:07:11 +00:00
Mike Jolley
09f2c6b89a
Add locale independent wc_get_permalink_structure function
2017-02-07 16:16:45 +00:00
Claudiu Lodromanean
e45adc14ed
Bring up-to-date with master
2017-02-06 10:10:41 -08:00
Mike Jolley
58118997a9
Merge pull request #13069 from jaydeeprami/Fix-Issue-13067
...
Fixed issue ref #13067
2017-02-06 12:36:53 +01:00
Jaydeep
91cd899989
Fixed issue ref #13067
2017-02-06 14:35:55 +05:30
Claudiu Lodromanean
9fadeacfdc
Tweak shipping zones button styling to handle RTL better
2017-02-01 10:25:42 +01:00
Mike Jolley
efcbdc3031
Tweaks for #12805
...
Closes #12805
2017-01-31 17:25:57 +01:00
Claudiu Lodromanean
da22e021f9
Tweak admin tabs CSS to look good in LTR and RTL modes.
2017-01-31 10:09:56 +01:00
Jaydeep Rami
615ba59ebb
Fixed issue #12986
2017-01-26 23:21:34 +05:30
Justin Shreve
474a307420
Introduce get_tax_class_slugs.
2017-01-25 13:38:13 -08:00
Justin Shreve
e8237eab3d
Merge pull request #12965 from woocommerce/update/duplicate-product
...
Update WC_Admin_Duplicate_Product to use CRUD.
2017-01-25 12:18:49 -08:00
Justin Shreve
bcae0166fd
Fix spacing error, return objects on our new hook, and force sku to be unique when duplicating.
2017-01-25 11:44:27 -08:00
Mike Jolley
e9b0fba63c
Merge pull request #12953 from pierrebuet/master
...
Updating the way select2 v4 loads translated strings
2017-01-25 00:22:47 +00:00
Justin Shreve
10d3e2d580
Update WC_Admin_Duplicate_Product to use CRUD.
2017-01-24 11:57:48 -08:00
pierrebuet
41a937041d
Updating the way select2 v4 loads translated strings
...
Correcting Issue #12952 .
In select2 v4 the callback functions used to format the messages have
changed their names and the structure of the options have changed,
using now a „language“ object.
I was not able to find a reference in the select2 v4 code how to format
the number of matches back. Further when using v4 I don’t see any
indication on the number of the number of returned matches, so I
consider the parameter as obsolete.
2017-01-23 22:04:52 +01:00
Claudio Sanches
3e60bd64de
Send emails using site language, closes #12931
2017-01-23 18:40:36 -02:00
Mike Jolley
cd05b94ec3
woocommerce_admin_process_product_object hook
2017-01-23 10:20:11 +00:00
Claudiu Lodromanean
754a12c88a
12170 Set up RTL generation and enqueuing
2017-01-20 10:29:48 -08:00
Hannah Swain
c22b1d766a
Update class-wc-admin-menus.php
...
Capitalize "s" in "Visit store" to match case on "Visit Site".
2017-01-19 14:47:29 +01:00
Mike Jolley
17481af671
Allow html in description
2017-01-17 15:50:19 +00:00
Mike Jolley
cb04d5985a
Fix add zone button and default title
...
Fixes #12829
2017-01-17 15:25:12 +00:00
Claudio Sanches
c001b508d5
Merge branch 'master' into fix/stock-bulk
2017-01-16 20:41:33 -02:00
Justin Shreve
3e92ec9d59
Fix stock updating on bulk edit.
2017-01-16 10:57:14 -08:00
Justin Shreve
cabff4fe28
Fix stock, virtual, and featured checks by passing correct data to quick-edit.js
2017-01-16 09:59:56 -08:00
Claudio Sanches
022d4fdac4
Coupon expiry date do not allow multiple date formats
2017-01-14 00:10:51 -02:00
Claudio Sanches
9c27661dea
Synchronized with master
2017-01-12 17:53:15 -02:00
Mike Jolley
91c68d211f
Merge pull request #12798 from woocommerce/orphan-variations-fix-12614
...
Orphan variations fix
2017-01-11 16:23:14 +00:00
Mike Jolley
748db4e675
Defer flush so CPT is updated before flush.
...
Fixes #12787
2017-01-11 16:12:00 +00:00
Mike Jolley
ba8f308100
Merge branch 'master' into orphan-variations-fix-12614
...
# Conflicts:
# includes/class-wc-post-data.php
2017-01-11 15:42:20 +00:00
Claudio Sanches
fff98a9fbd
Removed more legacy $woocommerce variable
2017-01-11 13:31:31 -02:00
Mike Jolley
61ce6a2d21
remove notice text
2017-01-11 11:48:11 +00:00
Chouby
1a1a152e2e
Fix duplicate_post_taxonomies() when using non unique slugs
...
Since WP 4.3, it is possible to use non unique terms slugs in the same taxonomy. Currently duplicate_post_taxonomies() uses the term slug in wp_set_object_terms(), thus may set a wrong term. I propose to use term_id instead, which ensures that the correct term is set.
2017-01-11 09:32:12 +01:00
Claudio Sanches
7d090957c8
Merge pull request #12794 from shivapoudel/wc-pages
...
Tweak - Exclude profile pages from WC pages
2017-01-10 16:37:12 -02:00
Shiva Poudel
8171c73e9b
Tweak - Exclude profile pages from WC pages using array_diff
2017-01-10 21:55:11 +05:45
Mike Jolley
00250e8eab
Fix date query format
2017-01-10 15:50:05 +00:00
Manos Psychogyiopoulos
bffdc27e8c
fix variation attributes display in stock reports
2017-01-09 12:03:08 +02:00
Jon Surrell
f1a90d6b05
Move level filters to dropdown
...
Drop table list "views" and use dropdown filter for sources and levels.
2017-01-08 19:32:53 +01:00
Jon Surrell
a992084776
Sort by timestamp by default
2017-01-08 18:55:21 +01:00
Jon Surrell
0aab3282f4
Add more sanitizing
...
These values should be controlled, but additional sanitization is preferable.
2017-01-08 18:53:01 +01:00
Mike Jolley
66c3cff76d
More escaping
2017-01-06 14:09:36 +00:00
Mike Jolley
76f8c3dddd
Escaping for scruitinizer
2017-01-06 12:45:28 +00:00
Mike Jolley
f7d72afcf9
Detect classname when saving attributes
2017-01-05 16:54:47 +00:00
Jon Surrell
d38e22329f
Replace count with empty check
2017-01-05 16:33:58 +01:00
Jon Surrell
e6bcc1aeb6
Replace 'All' with 'All sources' in dropdown
2017-01-05 16:23:03 +01:00
Mike Jolley
17f78d9668
Fallback to full image
...
Closes #12759
2017-01-05 14:31:04 +00:00
Mike Jolley
5dba3d5bfe
Sync variation names
2017-01-04 15:18:02 +00:00
Beka Rice
b8c7d7e771
Fixes undefined index notices with empty select2
2017-01-03 09:16:58 -05:00
Claudio Sanches
6d45e531fd
Merge pull request #12734 from corsonr/fix_wizard_tracking_name
...
Updated WooThemes to WooCommerce
2017-01-02 17:09:22 -02:00
corsonr
62c881b3c2
Updated WooThemes to WooCommerce
2017-01-02 17:56:19 +01:00
Jon Surrell
14e5bdcf91
Fix typos
2017-01-02 14:51:56 +01:00
Jon Surrell
4cfc6b4d04
Handle top and bottom bulk actions
2017-01-02 14:42:14 +01:00
Jon Surrell
b4b5c5124a
Refactor WC_Admin_Log_Table_List::prepare_items
...
Extract several methods to simplify structure and flow
2017-01-02 14:42:13 +01:00
akashsonic
202458a1f3
Dynamic add 2 attribute.
...
Add dynamic 2 attributes rows & cols in woocommerce_wp_textarea_input function. User can add dynamic this attributes in text-area field.
2017-01-02 18:01:52 +05:30
Jon Surrell
90ef632fa5
Colorize leveles in db log table
2016-12-29 12:03:59 +01:00
Jon Surrell
4cf86ef346
Use constants over settings to configure logger
...
Settings have been removed.
WC_LOG_THRESHOLD and WC_LOG_HANDLER constants have been added.
2016-12-29 11:58:43 +01:00
Jon Surrell
e4681d268b
Remove logging
2016-12-29 11:58:43 +01:00
Jon Surrell
269addd9f8
Rework db log table
...
Change tag from text search to select list.
Flatten and clean up query logic.
Add required methods for source <select>.
2016-12-29 11:58:43 +01:00
Jon Surrell
588b1c2267
Format date in log viewer table
2016-12-29 11:58:43 +01:00
Jon Surrell
e4d5886427
Replace log `tag` with log `source`
2016-12-29 11:58:43 +01:00
Jon Surrell
5700043e6d
Deprecate wc_get_log_file_path
...
wc_get_log_file_path moves into `WC_Log_Handler_File` class as a static
method.
Update deprecations and version info.
2016-12-29 11:58:43 +01:00
Jon Surrell
de076a313e
Fix settings log texts
...
Add 'woocommerce' to __ translated texts.
Improve texts.
2016-12-29 11:58:43 +01:00
Jon Surrell
970a33e182
Cleanup log list table view
...
Format log timestamp.
Add is_valid_level check to $_REQUEST level filter.
General cleanup: formatting, layout, commentary.
2016-12-29 11:58:43 +01:00
Jon Surrell
aee5917440
Change wc_safe_dump to wc_print_r
...
Match print_r arguments, this makes usage obvious.
2016-12-29 11:58:43 +01:00
Jon Surrell
5f24eca7e2
Add delete to db log viewer table
...
Clean up some nonce logic.
Use a single <form> containing log table.
2016-12-29 11:58:43 +01:00
Jon Surrell
81eaa5ae17
Make lot threshold strings translatable
2016-12-29 11:58:43 +01:00
Jon Surrell
080cf8e436
Store log levels as integer representations in database
...
This will allow indexed ordering by severity.
Add WC_Log_Levels::get_severity_level method to translate severity
integers to level strings. The inverse of WC_Log_Levels::get_level_severity.
Add context to tests.
2016-12-29 11:58:43 +01:00
Jon Surrell
be38e8f2fe
Add log threshold setting to settings page
2016-12-29 11:58:43 +01:00
Jon Surrell
0f13cca921
Use autoloader for log handlers
2016-12-29 11:58:43 +01:00
Jon Surrell
e2f76bcd54
Fix logs-db redirects
2016-12-29 11:58:42 +01:00
Jon Surrell
c633db9d65
Add woocommerce_default_log_handler setting
...
Adds configuration to settings page
Show status-logs page based on settings (unify logs & database logs)
Register default log handler by default
2016-12-29 11:58:42 +01:00
Jon Surrell
44ec07902d
Add confirmation to db log flush
2016-12-29 11:58:42 +01:00
Jon Surrell
c945d727d5
Add log flushing to db log viewer
2016-12-29 11:58:42 +01:00
Jon Surrell
e42d2e61fd
Update print_r to use wc_safe_dump
2016-12-29 11:58:42 +01:00
Jon Surrell
7a3c6bcc0c
Fix phpcs issues
2016-12-29 11:58:42 +01:00
Jon Surrell
d6a6b8771d
Add level views to db log table
2016-12-29 11:58:42 +01:00
Jon Surrell
30fdca65a9
Log viewer via html template
2016-12-29 11:58:42 +01:00
Jon Surrell
bc3f788507
Implements database log viewer
2016-12-29 11:58:42 +01:00
Jon Surrell
9adb64b6b9
Restore log deletion from admin log viewer page
...
WC_Logger no longer controls logging and has no knowledge of files.
Correctly handle `remove_log` action via file log handler.
2016-12-29 11:58:42 +01:00
Mike Jolley
daea231ab7
Merge pull request #12666 from woocommerce/select2-4
...
Upgrade Select2 to V4
2016-12-24 14:40:09 +00:00
Mike Jolley
f3dc355632
Check post data is set
...
Closes #12670
2016-12-22 14:41:39 +00:00
Mike Jolley
92968492a0
Customer search
2016-12-21 14:18:33 +00:00
Mike Jolley
96877dbb25
Fix product search inputs
2016-12-21 13:23:26 +00:00
Mike Jolley
badf8d7d55
Add select2 script and CSS
2016-12-20 16:45:22 +00:00
Mike Jolley
2ebd83aa2d
Merge pull request #12653 from shivapoudel/blank-state-trash-btn
...
Hide "Empty Trash" button in blank state after removing all data
2016-12-20 11:09:52 +00:00
Mike Jolley
bc24a2e854
BW compat for variable naming
...
@webaware
2016-12-20 11:07:31 +00:00
Shiva Poudel
d20cdd2830
Hide "Empty Trash" button in blank slate after removing all data
2016-12-20 12:15:17 +05:45
Mike Jolley
2e77e38d33
colour -> color
...
#12627
2016-12-19 11:41:48 +00:00
Mike Jolley
a9a21bf9e0
Fix sale date series
...
Fixes #12609
2016-12-16 12:35:33 +00:00
Claudio Sanches
485c89ee99
Fixed wrong textdomain
2016-12-15 14:44:43 -02:00
Mike Jolley
d52a126eb2
Remove bulk_action callback
2016-12-15 15:55:40 +00:00
Mike Jolley
61605e893b
Remove legacy code and add correct callback
...
#12476
2016-12-15 15:51:54 +00:00
Mike Jolley
cf0943fda9
Fix term sorting
...
Closes #12602
2016-12-15 14:09:01 +00:00
Mike Jolley
66be50ba72
More explicit bulk price labels
2016-12-14 12:06:46 +00:00
Mike Jolley
7806ac4edf
Missing data store
...
Fixes #12588
2016-12-14 11:26:21 +00:00
Mike Jolley
f29288b542
Fix default attribute saving
2016-12-13 20:03:00 +00:00
Mike Jolley
d441e34ef5
Support template option
...
Closes #12544
2016-12-13 14:02:52 +00:00
Mike Jolley
0e72b87ca1
Allow comment editing.
...
Closes #12563
2016-12-12 13:00:08 +00:00
Mike Jolley
12608af03a
Sorting handling
2016-12-08 14:28:51 +00:00
Mike Jolley
47fbae4d26
Product Visibility Taxonomies ( #12527 )
...
* Convert visibility and featured to taxonomy
* Comment
* Add missing tax_queries
* Only check SKU after read.
* Added visibility term for outofstock products to speed those queries up al
* wc_bool_to_string
2016-12-08 10:56:45 +00:00
Justin Shreve
a315e174b7
Fix tax name typo and wrap with _escape.
2016-12-07 11:03:28 -08:00
Mike Jolley
d9420e01d2
Fix themes_api fatal error
2016-12-07 11:37:00 +00:00
Justin Shreve
b5e9fc08fe
Set featured status and catalog visibility when saving products.
2016-11-30 10:20:18 -08:00
agrillo
328401271f
Fixed: if woocommerce_resend_order_emails_available hook return an empty array the optgroup label "Resend order emails" It is also printed
2016-11-30 11:32:38 +01:00
Mike Jolley
086d8bce1d
Fix is_callable
2016-11-25 14:48:20 +00:00
Matty
ff1442e9aa
Allow cross sells to be sold as variations
2016-11-25 13:17:09 +00:00
Mike Jolley
f67ffe4d89
Merge pull request #12465 from woocommerce/crud-ajax-class
...
AJAX Class and other fixes
2016-11-25 10:44:20 +00:00
Claudio Sanches
1ed2f9d136
Fixed undefined index while saving coupons on admin screen
2016-11-24 15:43:01 -02:00