Mike Jolley
dfc1e0a625
Merge remote-tracking branch 'origin/master'
...
Conflicts:
includes/admin/views/html-admin-page-status-report.php
2015-11-02 10:02:35 +00:00
Mike Jolley
781adc121c
Check parent theme version
...
Closes #9477
2015-11-02 10:01:42 +00:00
Claudio Sanches
317aeb39f1
Merge pull request #9478 from WPprodigy/system-status-fix2
...
Typo in system status report
2015-10-31 17:03:48 -02:00
Caleb Burks
46b43f4c7c
Typo in system status report
2015-10-31 12:00:51 -04:00
Caleb Burks
10bb2c6ca1
Check for child themes in the .org repo
2015-10-31 11:23:07 -04:00
Mike Jolley
ad38f6e34f
Add pay link to order screen
...
Closes #9428
2015-10-30 13:29:16 +00:00
Claudio Sanches
454ffa4677
[2.4] Fixed bulk edit sale_price when empty
...
This avoid sale_price saved as "0" and update correct update _price
field, related issue: #8076
Closes #9437
2015-10-27 11:27:31 -02:00
Shohei Tanaka
94dc4e310b
Customer Name in admin Order list
...
In Japan we want to use full name order in admin order list.
2015-10-27 06:37:04 +09:00
Mike Jolley
59dc92e113
Merge pull request #9417 from woothemes/9381-help-tip-icon-font
...
Use new "question" mark icon font for Help Tips
2015-10-26 08:45:10 -06:00
Claudio Sanches
e91e0a9f5e
Changed <i> to <span> in wc_help_tip()
...
<span> is more semantically correct
2015-10-23 13:17:35 -02:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Mike Jolley
8279db6679
If redirection to setup wizard does not occur, do not redirect at all
2015-10-23 12:24:04 +01:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Claudio Sanches
c1b46113bc
[2.4] Make "Not right now" button on Setup Wizard go to the WP dashboard
...
closes #9392
2015-10-22 18:17:14 -02:00
Mike Jolley
08365f4145
Merge pull request #9333 from roykho/onboard
...
[onboard wizard] Remove required attribute from currency_code form el…
2015-10-22 09:03:48 -06:00
Claudio Sanches
1ea5b8433f
Escape normalized for the woocommerce_variation_option_name filter
2015-10-18 10:42:44 -06:00
roykho
27db35dd12
[onboard wizard] Remove required attribute from currency_code form element so it is not required
2015-10-09 07:01:49 -07:00
Mike Jolley
68cb6b11ee
Removed welcome page
...
2.5 release doesn’t have enough user-facing features to justify a
full-blown welcome page, and translation credits are no longer
obtainable after translate.wordpress switch. Removed the page to keep
things streamlined.
@claudiosmweb @mattyza
2015-10-09 11:56:13 +01:00
Mike Jolley
919f19b698
Remove transifex references
2015-10-09 11:31:42 +01:00
Mike Jolley
d5409f5b5e
Merge conflicts
2015-10-08 13:28:25 +01:00
Mike Jolley
0197a99065
Merge branch 'issue/8587'
...
Conflicts:
assets/css/admin.css
assets/css/woocommerce.css
includes/admin/class-wc-admin-assets.php
includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley
8ee479afd7
Remove unused input
2015-10-08 13:25:01 +01:00
Mike Jolley
ac02ec290a
Improved styling and wording
2015-10-08 13:18:00 +01:00
Shiva Poudel
af7b603690
Added new woocommerce_sessions table in system status
2015-10-08 16:26:16 +05:45
Mike Jolley
b27635409c
New Session Handler
...
This merges and adapts
https://github.com/kloon/woocommerce-large-sessions for core. Closes
#6846 .
Differences:
- Rather than delete each cache key individually, this invalidates all
at once (idea from https://core.trac.wordpress.org/ticket/4476 )
- Removes ‘replace’ which increments session_id keys unnecessarily.
- Fixes remove/restore cart sessions from making it dirty each page load
Kudos to @kloon for the bulk of the work and testing on Woo.com.
cc @claudiosmweb
2015-10-07 14:47:29 +01:00
Mike Jolley
9c6d524c95
Missing close bracket
2015-10-06 15:08:17 +01:00
Mike Jolley
f1c6b3628a
Pass mimes when checking file type
...
#9207
2015-10-06 15:01:41 +01:00
Claudio Sanches
9169458590
Updated recent reviews url escaping
2015-10-06 10:35:33 -03:00
Claudio Sanches
c53fe24c20
Removed our own language packs manager
2015-10-06 10:27:17 -03:00
Mike Jolley
d028e65748
Merge pull request #9163 from nvartolomei/downloadable-products-permissions-cleanup
...
Remove downloadable permissions on permanent order deletion
2015-10-06 12:41:56 +01:00
Shiva Poudel
f6f7646cb6
Escape using esc_url instead of esc_attr for link
2015-10-06 10:40:11 +05:45
Claudio Sanches
f2b3364fc9
Fixed coding standards
2015-10-05 20:31:05 -03:00
Claudio Sanches
db6f51216e
Improved coupons status display in admin table
2015-10-05 20:30:03 -03:00
roykho
f97eb5606e
add onboarding wizard button to the contextual help so it can be accessed again closes #9134
2015-10-05 15:26:59 -07:00
Mike Jolley
1f6260a880
Use tax settings in backend and default to base country
...
Closes #9186
2015-10-05 15:31:58 +01:00
Mike Jolley
6975335941
Coupon description is escaped
...
@claudiosmweb Closes #9273
2015-10-05 14:30:02 +01:00
Mike Jolley
5ad38f8b65
Tweak and link product permalink settings to WordPress settings
...
Fixes #8442
2015-10-05 12:15:35 +01:00
Mike Jolley
4fd987c165
Merge pull request #9266 from woothemes/issues/9125-report-does-not-match-with-chart
...
[2.4] Fixed wrong gross sales calculation on sales by date report.
2015-10-05 09:17:59 +01:00
Shiva Poudel
178df9cec9
Remove duplicated 'thumb' for product custom columns
2015-10-05 13:41:29 +05:45
Akeda Bagus
dc0d5362cd
Fixed wrong gross sales calculation on sales by date report.
...
The order amounts should exclude refunds.
Fixes #9125 .
2015-10-02 11:08:41 +02:00
Mike Jolley
a7228e8305
search variation skus
...
Fixes #7926
2015-10-02 10:52:27 +02:00
Mike Jolley
96103724dc
Display 2 averages on report
...
Closes #9144
2015-10-02 10:42:48 +02:00
Shiva Poudel
836ac8ae79
Remove the duplicated variable jquery_version ;)
2015-10-02 11:30:05 +05:45
Mike Jolley
e5575361f2
Merge pull request #9252 from shivapoudel/unused-global
...
Removed unused global variable
2015-10-01 18:50:03 +02:00
Mike Jolley
948ba904de
Merge pull request #9244 from franticpsyx/template_override_check_path
...
[2.4] System Report: Template version check path incorrect
2015-10-01 18:48:55 +02:00
Manos Psychogyiopoulos
4fc018a88b
stray error_log
2015-10-01 19:27:43 +03:00
Mike Jolley
19db1a6b4f
Add notes for manual email send
...
Closes #8902
2015-10-01 17:39:32 +02:00
Claudio Sanches
3a536ac8b7
Sanitize shipping method label/title, closes #9159
2015-10-01 17:17:45 +02:00
Mike Jolley
7b751dc622
Clean post cache after variation update
...
Closes #9173
2015-10-01 16:48:41 +02:00
Claudio Sanches
7c05671188
Added new actions to make easy add custom fields for variations, closes #8827
2015-10-01 16:30:02 +02:00
Claudio Sanches
f6a5e48a59
Register all styles on admin before call #8488
2015-10-01 16:10:18 +02:00
Claudio Sanches
0966fedb12
Moved JS vendor libraries for our own directories #8488
2015-10-01 15:46:08 +02:00
Shiva Poudel
b614222b11
Removed unused global variable
2015-10-01 15:28:41 +05:45
Mike Jolley
324e3cac0f
Add billing column (off for new users)
...
Closes #9240
2015-10-01 10:52:03 +02:00
Manos Psychogyiopoulos
37b24ae525
move version check into loop
2015-09-30 11:01:25 +03:00
Manos Psychogyiopoulos
e36c5ae630
fix file version check path
2015-09-29 12:36:03 +03:00
Claudio Sanches
df508c82a3
Merge pull request #9198 from nvartolomei/shop-order-meta-save
...
Set order date before changing order status.
2015-09-22 13:55:24 -03:00
Claudio Sanches
91c30310ee
Fixed stock email recipient description typo, closes #9199
2015-09-22 13:06:10 -03:00
Nicolae Vartolomei
dd62484cc2
Set order date before changing order status.
2015-09-22 12:02:29 +03:00
Claudio Sanches
c4a845e9ac
Merge pull request #9178 from krautnerds/fix-report-chart-highlighting
...
[2.4] Fixed wrong highlighting of reports chart
2015-09-21 16:50:24 -03:00
Claudio Sanches
63b389d21c
Merge pull request #9181 from woothemes/issues/8721-fix-network-activated-plugins-not-showing-up
...
Fix network activated plugins not showing up in system status report.
2015-09-21 16:43:40 -03:00
Claudio Sanches
ebc0996f4c
[2.4] Show tax fields in product bulk edit only when tax is enabled
2015-09-21 16:36:46 -03:00
Claudio Sanches
d07441f518
[2.4] Show tax fields in product quick edit only when tax is enabled
2015-09-21 16:03:03 -03:00
Akeda Bagus
7490600de5
Fix network activated plugins not showing up in system status report.
...
The array returned by `get_site_option( 'active_sitewide_plugins' )` has
plugin file as array's key while array returned by `get_option( 'active_plugins' )`
has plugin file as array's value.
Fixes #8721
2015-09-20 23:35:03 -05:00
Florian Ludwig
7d2d102dc4
Fixed wrong highlighting of reports chart
...
The highlight data attributes were totally messed up - Fixed them
according to the current sorting of the graph series
2015-09-20 18:12:31 +02:00
Claudio Sanches
f6e828e359
[2.3] unslash shipping label, closes #9160
2015-09-18 12:28:13 -03:00
Claudio Sanches
daf371052c
Missing ) on order screen for customers select2
2015-09-18 12:21:55 -03:00
Nicolae Vartolomei
e15a4367bd
Rename action that is executed after permission deletion (typo)
2015-09-18 16:50:26 +03:00
Nicolae Vartolomei
c415d1554c
Remove downloadable permissions on permanent order deletion
2015-09-18 16:41:50 +03:00
Mike Jolley
a175638032
[2.4] unslash file URL
2015-09-17 16:18:11 +01:00
Claudio Sanches
ab921ea82c
Merge pull request #9088 from khag7/khag7-patch-1
...
Filter the array which determines what classes are applied to an order note
2015-09-15 20:01:33 -03:00
Claudio Sanches
ebedba7906
Merge pull request #9081 from helgatheviking/filter-admin-order-item-thumbnails
...
Add `woocommerce_admin_order_item_thumbnail` filter in admin
2015-09-15 19:58:23 -03:00
Claudio Sanches
7e63374aaf
Merge pull request #8735 from shivapoudel/backbone-modal
...
Allow support for variable in backbone modal template in extensions
2015-09-15 19:44:50 -03:00
James Koster
82f8b61418
make it clearer that variation drag/drop only applies to the backend. closes #9104
2015-09-15 17:05:55 +01:00
Mike Jolley
4e063fb069
Merge pull request #8925 from shivapoudel/hidden-meta-boxes
...
Hides 'custom fields' section by default in product
2015-09-15 16:47:05 +01:00
Mike Jolley
cc875d7b94
Merge pull request #8939 from SiR-DanieL/_x
...
Added some comments on translations
2015-09-15 16:45:39 +01:00
Mike Jolley
96814b992f
Show more variations per page
2015-09-14 16:54:58 +01:00
Mike Jolley
fc78f85bc6
Merge branch 'pr/9034'
2015-09-14 15:56:38 +01:00
Mike Jolley
53c6bebbd0
Select 1=1 instead of '1' when using get_var
...
Fixes #9102
2015-09-10 16:49:51 +01:00
Kevin Hagerty
1c6dad110e
improved spacing, filter name more conventional, added esc_attr
2015-09-09 10:11:09 -04:00
Mike Jolley
71b8f0ddff
Change loops wording
...
Closes #8818
2015-09-09 11:26:11 +01:00
Mike Jolley
a0411e7d8b
Apparently allowing full screen fixes wistia notices
...
Fixes #9052
2015-09-09 11:06:26 +01:00
Kevin Hagerty
849a3598c9
add a filter to the array of the html classes for an order note
...
allow plugins to hook into the display of order notes to add classes.
2015-09-08 20:11:04 -04:00
Kathy Darling
9571b8827e
Add `woocommerce_admin_order_item_thumbnail` filter in `html-order-item.php`.
2015-09-08 13:41:12 -04:00
Mike Jolley
14ee9e2daa
Merge pull request #9074 from khag7/khag7-patch-1
...
fix HTML for the order total column
2015-09-08 10:24:19 +01:00
matttallan
bbe11fdd6b
Don't try add/remove download permissions if order does not exist
2015-09-08 15:28:38 +10:00
Kevin Hagerty
a59b3482e8
fix HTML for the order total column
...
the HTML generated now uses get_formatted_order_total, same solution used for issue #9047
2015-09-07 17:30:55 -04:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
Mike Jolley
3e0986bce0
Merge pull request #9053 from khag7/khag7-patch-1
...
Improve order total formatting
2015-09-07 14:43:49 +01:00
Mike Jolley
50e4a68235
Merge pull request #9028 from LeGaS/patch-1
...
Count only published variations
2015-09-07 14:43:01 +01:00
Mike Jolley
13b85f89a6
Tweak wc_create_page to work with trashed pages...
...
… and to check post IDs are valid pages with correct post statuses.
Fixes #9061
Closes #9062
Closes #9063
2015-09-07 14:17:22 +01:00
James Koster
4aff861626
responsive orders table in dashboard. closes #8996
...
Also removes unnecessary tooltip on order row.
2015-09-07 12:35:30 +01:00
Kevin Hagerty
3671bcf39d
Improve order total formatting
...
The function get_formatted_order_total already provides formatted HTML with indication of a prior refund. No need to do that logic and formatting again.
2015-09-05 07:48:24 -04:00
Mike Jolley
991bd96fb6
Redirect 'not right now' to referer
2015-09-04 16:02:44 +01:00
Mike Jolley
b111331686
Allow line breaks in non-variation attributes
2015-09-04 14:00:42 +01:00
Florian Ludwig
6f3a221c62
Removed senseless sprintf argument
2015-09-03 22:21:23 +02:00
Florian Ludwig
2b6aecb262
Don't use translated key for name in bulk action checkbox
...
Otherwise the translation will break the code in
https://github.com/woothemes/woocommerce/blob/master/includes/admin/clas
s-wc-admin-api-keys.php#L122
We shouldn’t use the translated string here in my opinion.
2015-09-03 22:12:55 +02:00
Mike Jolley
889d40b8aa
Add data attribute to leave options visible
...
Closes #9017
2015-09-03 15:38:42 +01:00
Szabolcs Légrádi
6bb0dd864b
Do not count trashed product variations
2015-09-02 23:11:28 +02:00
Szabolcs Légrádi
68460063a0
Count only published variations
2015-09-02 22:58:07 +02:00
Mike Jolley
dd7c32c22c
Added 'false' check in variation admin
...
@claudiosmweb Closes #8966
2015-09-01 16:35:13 +01:00
Caleb Burks
c53248896e
Allow for multiple email recipients
...
Allow multiple emails to be used for the low stock / out of stock email.
2015-09-01 07:11:41 -05:00
Mike Jolley
07237d9a09
Set charset when doing html_entity_decode
...
@claudiosmweb Closes #8964
2015-08-31 12:29:36 +01:00
Mike Jolley
7643712a52
Sync after save
2015-08-29 13:45:58 +01:00
Mike Jolley
4849d7d56e
Sync stock status during save
...
Closes #8950
2015-08-26 13:51:51 +01:00
Mike Jolley
1f3e8b984e
use empty to check to see if attributes for variations exist
...
Closes #8959
2015-08-26 12:56:44 +01:00
Nicola Mustone
6f7b534493
missing comma
2015-08-24 17:27:23 +02:00
Nicola Mustone
657728d778
_x for the order details admin page
2015-08-24 17:15:19 +02:00
Mike Jolley
5e984faebc
Allow HTML in store notice.
2015-08-24 16:15:16 +01:00
Nicola Mustone
beb97b279e
_x for refund reports
2015-08-24 17:13:04 +02:00
Mike Jolley
14b0c20bf2
Ensure variable stock status is based only on variations
2015-08-24 15:03:44 +01:00
Mike Jolley
3c7290a765
During updates, only recreate .htaccess if not using redirect download method.
...
Fixes #8923
2015-08-24 13:50:14 +01:00
Mike Jolley
d9e8787198
WC Setup wizard: Fix manual setting of decimal/thousand separator.
...
Closes #8930
2015-08-24 12:54:09 +01:00
Shiva Poudel
9cf86e8494
Cleanup docblocks
2015-08-22 02:57:03 +05:45
Shiva Poudel
4018ca4ed3
Tweak - Hide default Custom Fields Meta-Boxes, Closes #8924
2015-08-22 02:52:05 +05:45
Mike Jolley
04a68ad925
Add spinner/loading indication between onboarding steps
...
Closes #8816
2015-08-21 19:12:36 +01:00
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
Vignesh
4eef4bf846
Class attribute added for Checkbox in settings
...
Noticed class attribute missed in checkbox of admin settings function, this class name will help for developer also, can you please consider this as my proposal?
2015-07-08 20:24:36 +05:30
Claudio Sanches
843a55a6b5
Admin ajax variations
2015-07-07 20:53:36 -03:00
Claudio Sanches
4f3fb07dc9
Added new styles for variable pagenav
2015-07-07 19:06:51 -03:00
Claudio Sanches
8b681fddf7
Created bulk edit actions for variable sale schedule
2015-07-07 16:39:59 -03:00
Claudio Sanches
268a696918
Initial bulk edit variations actions
2015-07-06 22:50:35 -03:00
Claudio Sanches
de01133142
Save only updated/edited variations and fixed the variations sync and product cache/transients
2015-07-06 19:07:01 -03:00
Claudio Sanches
af0b786104
Improved relative path check #8503
2015-07-06 15:02:15 -03:00
Claudio Sanches
e888294caa
[2.3] Fixed download URL for relative paths, closes #8503
2015-07-06 15:00:04 -03:00
Claudio Sanches
47eb3c5deb
Merge pull request #8523 from adnanoner/master
...
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
2015-07-06 13:52:35 -03:00
adnanoner
725e3ee4e0
Add $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
...
This comes in handy when you want change the line_items loop.
In my case I wanted to have a single line for each order items (per quantity) so I could edit the order and change the product for individual items. Would be appreciated if this could be merged.
2015-07-06 18:09:06 +02:00
Mike Jolley
270eb785da
Merge pull request #8522 from shivapoudel/wp_json_encode
...
Encode pointers into json, with some sanity checks
2015-07-06 18:07:02 +02:00
Mike Jolley
e908055f31
Only check changelog for woothemes plugin URI plugins
...
Closes #8520
2015-07-06 16:02:34 +01:00
Mike Jolley
439ce9eed2
Merge branch 'save-fields-refactor-8495'
...
Closes #8495
2015-07-06 15:31:43 +01:00
Mike Jolley
2440717f72
live -> interactive
2015-07-06 14:52:41 +01:00
Shiva Poudel
3d328c92c4
Method should be conditional_includes
2015-07-06 15:34:31 +05:45
Shiva Poudel
ba2afde068
Encode pointers into json, with some sanity checks
2015-07-06 15:30:10 +05:45
Mike Jolley
792536bd8e
Prevent white space in report
...
Closes #8499
2015-07-06 10:18:23 +01:00
Claudio Sanches
ae18af8cc7
Added method to save variations via ajax
2015-07-06 01:50:20 -03:00
Claudio Sanches
2dc0ef3f86
Added method to set the pagenav fields when add and remove variations
2015-07-06 01:09:36 -03:00
Claudio Sanches
c3b5ad2337
Refactored the link all variations, remove variation and add variation methods
2015-07-05 23:55:08 -03:00
Claudio Sanches
ee437bb646
Improved the navigation and tested if variations have some edition
2015-07-05 22:31:56 -03:00
Claudio Sanches
3de8405cc9
Created variations ajax pagination
2015-07-05 22:00:38 -03:00
Claudio Sanches
b16b026647
Load initial variations when click on variations tab
2015-07-05 20:19:45 -03:00
Mike Jolley
18c6a940f1
Merge branch 'onboarding'
...
Conflicts:
assets/css/admin.css
assets/css/select2.css
assets/css/woocommerce-layout.css
assets/css/woocommerce.css
assets/js/admin/order-backbone-modal.min.js
includes/admin/class-wc-admin-help.php
includes/admin/class-wc-admin.php
includes/admin/views/html-admin-page-status-report.php
includes/admin/views/html-notice-install.php
includes/admin/views/html-notice-template-check.php
includes/admin/views/html-notice-theme-support.php
includes/admin/views/html-notice-tracking.php
includes/class-wc-install.php
includes/class-wc-language-pack-upgrader.php
includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Mike Jolley
1257343006
Added missing locales based on popularity (from tracker)
2015-07-04 22:35:23 +01:00
Claudio Sanches
3d59933d6b
Created initial methods to load variations by ajax
2015-07-02 17:42:22 -03:00
Mike Jolley
02464c62cf
Revised HELP tabs
...
Added links to education partners (@jobthomas) and included WooCommerce
101 videos in context.
2015-07-01 15:22:43 +01:00
Mike Jolley
f779166bd1
onboarding site links #7829
2015-07-01 13:38:24 +01:00
Mike Jolley
84f0b541ed
Tweak wording and US states
2015-07-01 13:30:34 +01:00
Mike Jolley
7d1a016502
Adjust sales report to deal with partial shipping refunds and full refunds
2015-07-01 12:11:21 +01:00
Mike Jolley
99b96daf70
Wording for inc/ex prices
2015-06-30 14:06:36 +01:00
Mike Jolley
84bc6e1b1a
Merge branch 'geolocate-cache'
...
Conflicts:
includes/class-wc-customer.php
Closes #7939
2015-06-23 12:26:03 +01:00
Mike Jolley
14c88b49bc
Tweak option labelling
2015-06-23 12:20:13 +01:00
Justin Shreve
55317e69e3
Move the wp_posts ID check out of the string matching so we can find by ID _OR_ find based on sku match
2015-06-17 13:59:39 +00:00