Mike Jolley
393bb012c1
Tweak gateway wording
...
@mjepson
2015-08-21 19:01:21 +01:00
Mike Jolley
87534d683b
Update tweets!
...
@MarinaWoo
2015-08-21 18:57:14 +01:00
Mike Jolley
714cd8dc9a
Merge branch 'pr/8901'
2015-08-21 15:32:11 +01:00
Mike Jolley
574c0b2936
Update wording
2015-08-21 15:25:03 +01:00
Mike Jolley
296d9a8850
Merge pull request #8915 from shivapoudel/fix-site-icon
...
WC Setup wizard and site icon
2015-08-21 14:09:40 +01:00
Mike Jolley
2d8b3f0c1f
menu_order notices on IIS.
2015-08-21 14:08:32 +01:00
Shiva Poudel
7cd88cfa30
Fixed - WC Setup wizard site icon display on WP 4.3
2015-08-21 13:31:10 +05:45
Claudio Sanches
1c348ebc27
Merge pull request #8904 from woothemes/wizard-language-download
...
Wizard language download, closes #8895
2015-08-20 12:16:01 -03:00
Claudio Sanches
d81cea3ab6
Properly escape WC_Admin_Setup_Wizard::get_next_step_link()
2015-08-20 12:15:12 -03:00
Mike Jolley
0f40e8cdf7
Language install prompt
2015-08-20 16:03:29 +01:00
Tor Morten Jensen
f6b7ab97b1
Adds tooltips to explain 'tax class' and 'tax status' in product admin. Addresses #8817
2015-08-20 14:33:25 +02:00
JeroenSormani
c25cc886ae
Add tiptip dependency to wc-admin-meta-boxes
2015-08-20 13:46:52 +02:00
Mike Jolley
24c7f56b03
move attribute code above selector
2015-08-20 10:52:59 +01:00
Lucas Stark
00be9b1324
Update class-wc-admin-settings.php
...
Reset the $value to array when processing image_width. Strange bug if the value is a string and the array is not explicitly created.
2015-08-19 13:39:38 -04:00
Claudio Sanches
186257fcd1
Removed the forced redirect
2015-08-19 12:43:13 -03:00
Claudio Sanches
aa8e469a9d
Download translations in setup wizard
2015-08-19 12:36:59 -03:00
Mike Jolley
ac90660f7d
Add expand/close links for attributes and match variation UI
...
Closes #8875
2015-08-19 14:00:26 +01:00
Mike Jolley
57bb0ebe25
Record manual order status change
2015-08-18 16:33:38 +01:00
Mike Jolley
c6d6a6b439
Merge pull request #8866 from woothemes/fix/pinking-shears
...
Pinking Shears.
2015-08-18 14:36:52 +01:00
Mike Jolley
dc37e49c02
Suppress set_time_limit errors to prevent issues in some environments
...
“Warning: Cannot set max_execution_time above master value of 30 (tried
to set unlimited) in
/var/www/web1043/html/wordpress/wp-content/plugins/woocommerce/includes/
class-wc-download-handler.php on line 337</p>”
2015-08-18 13:16:25 +01:00
George Stephanis
ffd2b2de30
Pinking Shears.
2015-08-17 17:35:10 -04:00
George Stephanis
81804d8d3b
Don't show the `pre` displaying the changes by default.
2015-08-14 11:07:35 -04:00
George Stephanis
2aa1650f54
Rearrange things to get ajax working.
...
Spread them out throughout WooCommerce.
2015-08-13 17:49:59 -04:00
George Stephanis
ec287f116f
Add ajax submission processing.
...
Not quite finished yet, as the add_action isn’t catching.
2015-08-13 16:57:54 -04:00
George Stephanis
2d097a8f4c
Minified version of new js file.
2015-08-13 14:29:01 -04:00
George Stephanis
3a87b98ba6
Rewrite onAddNewRow for Backbone models.
2015-08-13 14:10:47 -04:00
George Stephanis
b4bd433342
Update the unsaved message to give better data.
2015-08-13 11:58:09 -04:00
Nicola Mustone
51c4599b59
replacing deprecated functions
2015-08-13 17:49:25 +02:00
Mike Jolley
7552704e75
double encode attributes
2015-08-13 12:16:08 +01:00
Mike Jolley
a545a3aa02
wp_json_encode is 4.1 +
2015-08-13 12:07:12 +01:00
Claudio Sanches
275849b5da
[2.4] Fixe order by user and sorting by total, closes #8803
2015-08-13 00:33:56 -03:00
George Stephanis
e10064d0fe
Revert back to passing in array values. We can indexBy in JS
2015-08-12 17:17:39 -04:00
George Stephanis
f77b77e335
New template for empty set.
2015-08-12 15:29:17 -04:00
George Stephanis
220550621a
Populate the search field value attribute
2015-08-12 14:38:25 -04:00
George Stephanis
3ee43646ae
Pass in the current page's base url to js for appending.
2015-08-12 14:18:49 -04:00
George Stephanis
4aedda5eb8
Indent the template file properly.
2015-08-12 13:52:04 -04:00
George Stephanis
56218b0824
Add in a notification for unsaved changes.
2015-08-12 12:59:13 -04:00
George Stephanis
8dc2126718
Update the tablenav so the gotos are never out of range.
2015-08-12 12:59:12 -04:00
George Stephanis
837931f99a
Check for truthiness.
...
This avoids silliness where `’0’` evaluates to true. Just parse it as
an int and evaluate that.
2015-08-12 12:59:11 -04:00
George Stephanis
2a0951e4e5
Add more data attributes to the rows and fields.
2015-08-12 12:59:11 -04:00
George Stephanis
1a066ebbe0
Swap to associative array for model.
2015-08-12 12:59:11 -04:00
George Stephanis
ce7cb1f65d
Add a `beforeunload` event to prompt before leaving with unsaved changes.
2015-08-12 12:59:10 -04:00
George Stephanis
c6e3a577c0
Set backbone and underscore as script dependencies.
2015-08-12 12:59:10 -04:00
George Stephanis
8a416f105b
Should be comparing to `'1'` not `1`.
2015-08-12 12:59:10 -04:00
George Stephanis
ddba588987
Migrate the logic and queries out of the template file.
...
Move them where they belong, in the class that calls it.
2015-08-12 12:59:09 -04:00
George Stephanis
5f4cbf78d0
Remove the legacy pagination.
2015-08-12 12:59:09 -04:00
George Stephanis
4df13e6ffb
Don't set them for unexistent rates.
2015-08-12 12:59:09 -04:00
George Stephanis
7bebbaff9e
Pagination now works by first, prev, next, last.
...
Still need to get number based pagination working.
2015-08-12 12:59:09 -04:00
George Stephanis
cf59aec17d
Add in and populate pagination template.
...
The buttons don’t actually do anything yet, but it outputs accurately
and inherits core styles.
2015-08-12 12:59:09 -04:00
George Stephanis
be4c7db8bd
Pass rates in as an array, not an associative array, so it's an Array in js.
2015-08-12 12:59:08 -04:00
George Stephanis
c9a1ba2f39
A default placeholder to show until the rendering code replaces it.
2015-08-12 12:59:08 -04:00
George Stephanis
536402c183
Insert placeholder divs for search and pagination.
2015-08-12 12:59:07 -04:00
George Stephanis
308c7f8676
Whitespace tweaks
2015-08-12 12:59:07 -04:00
George Stephanis
676af1f308
JSHint fixes.
...
The other advantage of splitting js out of php files — jshint can run
on it! :) :) :)
2015-08-12 12:59:07 -04:00
George Stephanis
52d4ea822c
Extract 'No Rows Selected' string
2015-08-12 12:59:07 -04:00
George Stephanis
973348d6ad
Whitespace tidy!
2015-08-12 12:59:06 -04:00
George Stephanis
18293cf365
Extract the autocomplete for states and countries data.
...
Localize it!
2015-08-12 12:59:06 -04:00
George Stephanis
5d5a64753d
Migrate csv columns to localize script.
2015-08-12 12:59:06 -04:00
George Stephanis
39749c4563
Move js in from php template file.
2015-08-12 12:59:06 -04:00
George Stephanis
a63ef876d7
Rename and tweak how js is registered.
...
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-12 12:59:06 -04:00
George Stephanis
0ed5f40fa2
Prefix template name with `wc-`
...
Good call, @mikejolley
2015-08-12 12:59:06 -04:00
George Stephanis
a59ed70774
Big changeover to JS templating for the table.
...
Switching over to building the table with JS — wp.template.
We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.
I’ve also started building stuff in an external JS file rather than
straight on the page. Will continue migrating things to it and
localizing as needed.
Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.
More coming.
2015-08-12 12:59:06 -04:00
George Stephanis
cb4e3cb774
Tax Rate Search: First whack.
...
This is by no means complete. A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-12 12:59:05 -04:00
Mike Jolley
3bd52a78a5
Use wc_get_attribute_taxonomies instead of global
2015-08-11 17:10:34 +01:00
Mike Jolley
f687a5a059
When setting up flat and international shipping during wizard, set availability based on base country
2015-08-10 11:03:36 +01:00
Doug Smith
46536b6374
Minor grammar fixes to the update welcome message
2015-08-07 11:21:49 -05:00
Claudio Sanches
0a657fdd96
Added missing dot
2015-08-07 10:37:45 -03:00
Claudio Sanches
38aa17b67b
Fixed hardcoded string
2015-08-07 10:27:40 -03:00
Claudio Sanches
c0179c8bb2
Fixed a typo/extra end of line
2015-08-07 10:18:30 -03:00
Mike Jolley
d6ceec0817
Flip esc_like and esc_sql, add %
2015-08-07 13:54:50 +01:00
Mike Jolley
5c9ac6a893
Avoid double escape when passing in arrays to sql queries. Use esc_sql
2015-08-07 11:37:19 +01:00
Mike Jolley
fcbdd35223
Clean and escape API search
2015-08-07 11:37:19 +01:00
Mike Jolley
ddd97b64c3
Remove white space to fix appearance of new rows
...
Fixes #8730
2015-08-06 11:38:46 +01:00
Shiva Poudel
4cc26ab799
Backbone modal template to support wp.template
2015-08-06 10:22:53 +05:45
Shiva Poudel
0d1c2dc4dc
Fix - calls for esc_*
2015-08-06 02:04:21 +05:45
George Stephanis
c938fa24da
More missing esc_attr calls, :(
2015-08-05 15:17:52 -04:00
Claudio Sanches
b091f12393
Fixed some js conding standards
2015-08-05 15:57:15 -03:00
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis
29d9a7da8c
Found two missing `esc_js()` calls as well.
2015-08-05 14:10:10 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches
47492fb273
Merge branch 'master' of github.com:woothemes/woocommerce
2015-08-05 15:03:05 -03:00
Claudio Sanches
054dfe0c7b
Changed default Underscore's template for wp.template in API Keys
2015-08-05 15:02:55 -03:00
Nicola Mustone
bfb0aa95b3
fix possible fatal error on the order admin page
2015-08-05 14:10:23 +02:00
toddlahman
50d659f380
fix for array_filter() expects parameter 1 to be array, boolean given
...
array_filter() expects parameter 1 to be array, boolean given
/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-duplicate-
product.php(171)
$exclude is evaluated as a boolean.
2015-08-02 00:35:58 -07:00
Fredrik Rossland
841beb95a6
Found a typo, "Permissons"
...
Changed "Permissons" to "Permissions"
2015-08-01 19:42:10 +02:00
Mike Jolley
e7dfff8687
Update wording and add tooltip
...
#8690
2015-07-31 17:14:28 +01:00
Mike Jolley
82f50cedb0
Allow menu_order sorting like in 2.3
...
Also allow setting manually to allow sorting between pages.
Fixes #8690
2015-07-31 12:39:23 +01:00
Mike Jolley
763c7dde35
Fix product image size saving
...
Fixes #8695
2015-07-31 11:29:04 +01:00
Mike Jolley
64d38f6dd8
STOCK STATUS field for variations should never be hidden
...
Fixes #8687
2015-07-30 15:45:05 +01:00
Mike Jolley
622dc777f0
Correct number format in coupon total
2015-07-30 12:52:52 +01:00
Mike Jolley
7b2aec4791
Take item qty into consideration when refunding orders
...
Fixes #8675
2015-07-29 13:13:41 +01:00
Mike Jolley
b0ee9a8cc6
Handle text vs select attribute names vs slugs
2015-07-29 10:58:28 +01:00
Claudio Sanches
ef5f41d748
Fixed textdomain for api key last access unknown, closes #8672
2015-07-28 12:44:20 -03:00
WordCommerce
19205ec0e6
[2.4] Removed API status notification on the Settings
2015-07-27 23:59:08 +03:00
Claudio Sanches
30f9d81916
Fixed row actions to support WordPress 4.3, closes #8578
2015-07-27 16:14:41 -03:00
Claudio Sanches
b0ce578541
Show errors for admin ajax variations
2015-07-27 14:16:52 -03:00
Mike Jolley
8d6858bb80
Sanitize not needed
2015-07-27 16:43:05 +01:00
Mike Jolley
2ea6a2efab
Merge branch 'pr/8607'
2015-07-27 13:17:27 +01:00
Claudio Sanches
506f87f138
Removed post filter count, closes #8654
2015-07-24 22:36:51 -03:00
Brent Shepherd
c8405d3d29
Remove deprecated comments and commented out code
...
Because WC_Meta_Box_Product_Data::save_variations() doesn't need to be
deprecated.
2015-07-23 22:24:07 -07:00
Brent Shepherd
4100204344
Match the two save_variations()
...
Specifically, match WC_Meta_Box_Product_Data::save_variations() to the newer,
almost identical, WC_Ajax::save_variations(), added in SHA: ae18af8c
(so that
we can eventually replace the newer WC_Ajax::save_variations().
2015-07-23 22:12:31 -07:00
Claudio Sanches
6f45872646
Disabled DFW feature pointer for products, closes #8595
2015-07-20 14:15:51 -03:00
Claudio Sanches
0eac4914df
[2.3] Fix check for relative downloadable product path, closes #8612
2015-07-20 13:56:28 -03:00
Claudio Sanches
791c20ae51
Added param for exclude posts from wc-product-search, closes #8613
2015-07-20 13:41:14 -03:00
Manos Psychogyiopoulos
18a7c6b7fb
back-compat with text-based attributes: defaults don't work in WC2.4
2015-07-18 12:34:41 +03:00
Josh Koberstein
38856b29c4
Correcting indentation
2015-07-16 16:02:33 -07:00
Josh Koberstein
922715791c
Passing array of term ids to wp_set_object_terms instead of term names.
2015-07-16 15:31:14 -07:00
Claudio Sanches
eebd47ecf8
Improved truncated key description
2015-07-16 15:45:00 -03:00
Claudio Sanches
e0be5a2e9f
Added truncated consumer key and last access fields in woocommerce_api_keys table
2015-07-16 15:42:00 -03:00
Claudio Sanches
0806a66fc5
Fixed Grouping select, stop select if do not have parent_post and allow clear the selection, closes #8586
2015-07-16 12:51:38 -03:00
Claudio Sanches
b3f1d41974
Merge pull request #8583 from bekarice/fix-create-api-key-typo
...
[2.4] Fix typo while creating API keys
2015-07-15 19:25:45 -03:00
Beka Rice
f227569659
Fix broken WooCommerce 101 video embeds
2015-07-15 18:19:47 -04:00
Beka Rice
54e00fc84a
Fix typo while creating API keys
...
adds missing closing parentheses around user email:
https://cldup.com/pvTlBGBMot.png
2015-07-15 17:30:41 -04:00
Claudio Sanches
9aca8d689b
Added HTML class row-title for coupons, orders, api keys and webhooks table lists
2015-07-15 15:45:57 -03:00
Mike Jolley
ed451f278f
Unused var
2015-07-15 16:37:29 +01:00
Mike Jolley
3749a10a4a
empty $theme_file
2015-07-15 16:16:10 +01:00
Mike Jolley
47c47ab93c
Avoid set_time_limit error supression
2015-07-15 16:14:32 +01:00
Mike Jolley
28c75c63dc
Unused code
2015-07-15 16:04:49 +01:00
Mike Jolley
0f7342a70d
Fix grouped product label
2015-07-15 13:33:45 +01:00
Shiva Poudel
cebaf41d34
Tweak - Template check docs btn as primary
2015-07-15 04:48:46 +05:45
Shiva Poudel
3fb422a7c2
Fix - Nonce check when hide admin notices
2015-07-15 04:40:47 +05:45
Shiva Poudel
5f30308512
No longer use of frontend colors notice
2015-07-15 04:39:28 +05:45
Shiva Poudel
6c936a162d
Tweak coding standard for update notice script
2015-07-15 04:38:32 +05:45
Claudio Sanches
a28c1c1e33
Fixed language update for en_US, closes #8568
2015-07-14 12:18:51 -03:00
Claudio Sanches
d2686f3d2e
Don't show language update message for en_US #8568
2015-07-14 12:04:14 -03:00
Mike Jolley
c707f771ad
serializeJSON to maintain POST data structure
...
@claudiosmweb
2015-07-14 13:49:45 +01:00
Mike Jolley
015ace770d
Split up bulk edit ajax methods
2015-07-14 11:39:48 +01:00
Mike Jolley
9b21c1c7a1
Add deprecation notices for woocommerce_update_option_X and keep this action working.
...
Before this change, options would be overwritten by the new filters.
2015-07-14 10:10:07 +01:00
Claudio Sanches
2cc7fcfa3f
Fixed missing textdomains
2015-07-13 11:03:03 -03:00
Nicola Mustone
35d8572e0b
new outdated templates tutorial link
2015-07-13 09:36:36 +02:00
Claudio Sanches
9e4dc64f55
Merge branch 'master' of github.com:woothemes/woocommerce
2015-07-10 20:17:27 -03:00
Claudio Sanches
b8a28bdab4
Admin variations - Cancel button reset the default form values
...
@mikejolley
2015-07-10 20:16:35 -03:00
Mike Jolley
86e0aa106e
bulk_edit
2015-07-11 00:05:13 +01:00
Mike Jolley
3ec4003bbb
Move add variation button and toolbars
2015-07-11 00:04:16 +01:00
Mike Jolley
157503a6d3
20 not 25
2015-07-10 14:26:39 +01:00
Mike Jolley
3446880705
Translators
2015-07-10 14:02:52 +01:00
Mike Jolley
33877624ac
Welcome page content
2015-07-10 14:00:21 +01:00
Claudio Sanches
76b312b9e7
Use always min.js files on admin
2015-07-10 01:32:30 -03:00
Claudio Sanches
987a789367
Admin variations - Show link all variations bulk action
2015-07-10 00:49:52 -03:00
Claudio Sanches
a64695b7f5
Admin variations - Added new triggers and removed data-product_id
2015-07-09 17:31:48 -03:00
Claudio Sanches
c4c2ebd038
Merge pull request #8536 from vicky081/patch-3
...
Class attribute added for Checkbox in settings
2015-07-09 11:43:00 -03:00
Mike Jolley
34f149bcbf
Replace dash with colon
2015-07-08 23:51:44 +01:00
Mike Jolley
fedfa53754
expand/close
2015-07-08 23:46:19 +01:00
Mike Jolley
a219243e60
Move link all variations to bulk actions
2015-07-08 23:34:21 +01:00
Mike Jolley
8161cbd095
Change remove buttons into links
2015-07-08 23:08:07 +01:00
Claudio Sanches
042a6644e2
Ajaxify grouped product option, closes #7751
2015-07-08 18:38:17 -03:00
Claudio Sanches
94aa610dc0
Admin variations - Prompt when changing page #6995
2015-07-08 17:45:19 -03:00
Claudio Sanches
0a820f055f
Admin variations - Add cancel changes button #6995
2015-07-08 16:10:45 -03:00
Claudio Sanches
064af9a54c
Admin variations - Split the save button from the link/add buttons #6995
2015-07-08 15:53:00 -03:00
Vignesh
8a4e7e34ca
Update class-wc-admin-settings.php
2015-07-08 20:42:04 +05:30