Commit Graph

4135 Commits

Author SHA1 Message Date
Claudio Sanches ffd7915d49 Make sure that option is an array 2018-02-28 16:46:52 -03:00
Claudio Sanches de804dbe7b Make sure that user saved mapping preferences are applied after all filters 2018-02-28 16:40:26 -03:00
Claudio Sanches 3ca1139cf9 Sanitize mapping before save 2018-02-28 16:36:35 -03:00
Claudio Sanches 8500000da7 Updated user option key 2018-02-28 16:04:20 -03:00
Mike Jolley b44183b4cb Move jquery ui styles to assets 2018-02-28 13:02:41 +00:00
Mike Jolley de5b60a7e6
Merge pull request #18817 from shivapoudel/feature/screen-option
Add support screen options for core list tables
2018-02-27 19:19:45 +00:00
Mike Jolley f28a3dd35d
Merge pull request #19156 from woocommerce/fix/19120
Only trim strings in multiselect display options
2018-02-27 19:18:09 +00:00
Mike Jolley c389f4017e Merge branch 'master' into update/19136 2018-02-27 19:11:52 +00:00
claudiulodro c8f418fd45 Only trim strings in multiselect display options 2018-02-27 07:50:33 -08:00
Mike Jolley fc9fe996d8 Add profile link to order screen 2018-02-26 18:19:03 +00:00
obiPlabon 5b8721519b Fixed #19125 - added spinner markup 2018-02-25 17:33:29 +06:00
Claudio Sanches 9db8a434b5
Merge pull request #18082 from WPprodigy/remember-importer-mappings
Remember importer mappings
2018-02-23 11:05:24 -03:00
Shiva Poudel e4bcc1d285 Rename the prefix for per page options 2018-02-23 10:03:56 +05:45
Shiva Poudel c2c97855be Merge branch 'master' into feature/screen-option 2018-02-23 09:49:19 +05:45
Mike Jolley 58796bf981
Merge pull request #18554 from woocommerce/fix/18545
Flat rate: remove currency symbols
2018-02-22 12:21:49 +00:00
Mike Jolley 380ee9a13f
Merge pull request #18536 from woocommerce/update/17908
Refactor woocommerce_wp_select so it could be used for a multiselect
2018-02-22 12:19:11 +00:00
Shiva Poudel f1e2c0cf83 Merge remote-tracking branch 'upstream/master' into feature/screen-option 2018-02-22 09:52:59 +05:45
Claudio Sanches fe83dfdba7 Merge branch 'master' into fix/18545 2018-02-21 19:15:45 -03:00
Claudio Sanches 7da77237a2 Fixed coding standards 2018-02-21 18:19:38 -03:00
Claudio Sanches 2f6795a2c8 Fixed undefined index after running setup wizard two times on fresh install 2018-02-21 18:15:50 -03:00
Claudio Sanches ef393b8405
Merge pull request #18918 from woocommerce/fix/order-item-meta-key-maxlength
Set maxlength for order item meta key
2018-02-20 16:52:35 -03:00
Mike Jolley 2a7b09cb52
Merge pull request #19037 from woocommerce/fix/19036-order-date
Show full date for future orders
2018-02-20 11:21:31 +00:00
Mike Jolley c66d676680 Simplify date check 2018-02-20 11:21:00 +00:00
Caleb Burks 3469d47947 Prevent shipping zones PHP notice in wizard 2018-02-20 02:33:06 -05:00
Caleb Burks 3d7f674c54 Show full date for future orders 2018-02-19 21:25:03 -05:00
claudiulodro af5cb5df93 Resolve merge conflicts 2018-02-19 10:45:06 -08:00
Mike Jolley 5fce9152bd
Merge pull request #18080 from WPprodigy/fix-stock-update-order-notes
Enhancements for stock updates
2018-02-19 14:51:05 +00:00
Mike Jolley 0996264e7a
Merge pull request #18609 from woocommerce/fix/18608-add-missing-action-settings-save
Add missing action for settings pages that override save method
2018-02-19 14:43:58 +00:00
Mike Jolley b6ae08a72a Duplicate action 2018-02-19 14:43:28 +00:00
Mike Jolley 5feed3e0cc Merge branch 'master' into update/add-ext-object-cache-to-system-status 2018-02-19 14:39:31 +00:00
Mike Jolley e9bc9d3b1f Indentation 2018-02-19 12:41:55 +00:00
Paul Dechov d35f76136e Only show the Activate step if Jetpack isn't connected or WCS features were chosen 2018-02-16 23:23:41 -05:00
Paul Dechov b8c57576e6 Update graphic to WCS banner design 2018-02-16 18:07:04 -05:00
Remi Corson ad240278bd Do not display H2 note if no note
This will make the note title not appear if no note is defined. However, some CSS styling is needed as padding was originally added via .wc-order-preview-address wichi was containing the note section.
2018-02-16 15:24:31 +01:00
Remi Corson 94802c7a8b Fix #18995
Fixes #18995 by moving the note section outside the addresses container and unlink it from the shipping method conditional statement.
2018-02-16 12:12:15 +01:00
Paul Dechov 5d71521d6a Omit 'Reasons you\'ll love Jetpack' if Jetpack is already connected 2018-02-15 17:49:18 -05:00
Paul Dechov 16649fa7d9 Show 'Activate' step even when Jetpack is connected, to accept WCS terms of service 2018-02-15 17:48:37 -05:00
Mike Jolley 65278efd44 Allow modal to be wider and fix button wrapping 2018-02-15 12:46:47 +00:00
Mike Jolley 654e7db840 Use empty check for search 2018-02-14 18:09:47 +00:00
Mike Jolley 1631c8a09f Cancel button text 2018-02-13 19:21:52 +00:00
Mike Jolley e39b6950a8 Notice when regeneration is happening 2018-02-13 12:02:24 +00:00
Mike Jolley 3c7262112e Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling 2018-02-13 11:18:43 +00:00
Gerhard Potgieter 794272a732 Do not auto generate images on setting changes or theme switches. Introduce a regenerate button under tools. Only resize images on the fly when using the customizer to preview changes. 2018-02-13 09:55:50 +02:00
Shiva Poudel a283da9a53 Since already initialized on load no need of this 2018-02-13 08:31:11 +05:45
Caleb Burks ea9f799ec6 Remove strlen() condition
Did some tests, substr() is actually faster than the strlen() check.
2018-02-12 17:39:33 -05:00
Claudiu Lodromanean c9bbbf7c5a
Merge pull request #18944 from suifengtec/master
fix: show Maximum size with the size unit on the importer screen
2018-02-12 11:26:55 -08:00
Claudiu Lodromanean 86790b43da
Merge pull request #18941 from woocommerce/update/18929
Allow changing the default product category
2018-02-12 10:07:09 -08:00
Claudiu Lodromanean 3fd4c365b1
Merge pull request #18905 from woocommerce/fix/18891
Use verbose page rules when shop is in the URL, including shop base with category
2018-02-12 08:46:41 -08:00
suifengtec 6aab570544 fix: show Maximum size with the size unit on the importer screen 2018-02-12 23:18:24 +08:00
Mike Jolley 2c45696498 Add a 'make default' button to change the default product category 2018-02-12 13:17:47 +00:00
Mike Jolley e903027c2f
Merge pull request #18895 from woocommerce/fix/remove-attribute-type-column
Remove "Type" column on attributes table by default.
2018-02-12 12:14:54 +00:00
Mike Jolley d5d4f4199e
Merge pull request #18917 from shivapoudel/fix-status
Fix - Help tip for webhook status
2018-02-12 12:09:03 +00:00
Tareq Hasan b5ea65b604 Shipping zone documentation help link was printing wrong 2018-02-12 17:17:23 +06:00
Caleb Burks 19e3126e54 Add additional wizard next steps 2018-02-10 18:51:25 -05:00
Caleb Burks 0b228c4fda Add ability to go back to prev steps during setup 2018-02-10 18:28:07 -05:00
Shiva Poudel 3ea8629b6e Check admin referer instead of nonce, just like webhooks
CC @claudiosanches
2018-02-10 13:03:22 +05:45
Shiva Poudel 5e7b0e2925 Tweaks and PHPCS fixes 2018-02-10 12:23:33 +05:45
Shiva Poudel 939d8043ec PHPCS fix 2018-02-10 10:41:06 +05:45
Shiva Poudel 25d77e3ddc Use of title for description so screen option will not show for it 2018-02-10 10:17:02 +05:45
Shiva Poudel 14da53001f Tweak - No items found text 2018-02-10 10:14:06 +05:45
Shiva Poudel c35fb04455 Seperate the {create|edit}-key isset check, as it won't work 2018-02-10 10:07:06 +05:45
Caleb Burks 4f447ea48d Sanitize order item meta key w/ max characters 2018-02-09 22:52:36 -05:00
Caleb Burks c278bffa78 Set maxlength for order item meta key 2018-02-09 22:33:35 -05:00
Caleb Burks 221b4672d9 Use wc_has_custom_attribute_types() 2018-02-09 17:31:56 -05:00
Shiva Poudel 71495cef69 Fix - Help tip for webhook status 2018-02-10 02:33:00 +05:45
Mike Jolley 6af5bc3d19
Merge pull request #18863 from woocommerce/fix/gallery-array-to-string-conversion
Fix array to string conversion error
2018-02-09 16:42:11 +00:00
Mike Jolley 129134a30f Use verbose page rules when shop is in the URL, including shop base with category 2018-02-09 15:25:33 +00:00
Caleb Burks 7eae986643 Remove “Type” column on attributes table 2018-02-08 21:36:27 -05:00
Claudiu Lodromanean becd77ae93
Merge pull request #18880 from woocommerce/fix/18856
Added ability to search for all post statuses
2018-02-08 09:27:01 -08:00
Claudiu Lodromanean b47e264cb3
Merge pull request #18879 from woocommerce/update/category-help-text-polish
Add help text for the default category 2
2018-02-08 09:16:19 -08:00
Caleb Burks 210c22e57c Update docs 2018-02-08 11:58:20 -05:00
Caleb Burks 454c226778 Use wc_help_tip() 2018-02-08 11:52:32 -05:00
Mike Jolley 7dd9c7fb0e Added ability to search for all post statuses 2018-02-08 12:53:39 +00:00
Mike Jolley b95812d563 Handle quick edit 2018-02-08 12:35:57 +00:00
Rodrigo Primo 3290094ca0 Merge branch 'master' into update/avoid-extra-unneeded-query 2018-02-08 10:00:32 -02:00
Rodrigo Primo b4f6dc45e6 Update option instead of adding it
Doing this since on commit 57ae11c4c6, we stopped deleting the option and thus adding it won't do anything as it will be already present.
2018-02-08 09:54:39 -02:00
Caleb Burks bee4a57403 Fix array to string conversion error 2018-02-07 20:30:37 -05:00
Caleb Burks 4ca94e8f21 Add tooltip for default category 2018-02-07 19:24:43 -05:00
Caleb Burks c8a888acba Add note underneath product categories in admin 2018-02-07 18:12:31 -05:00
Caleb Burks c21cc2e8fe Replace “Cheatin’ uh?” with friendlier messages 2018-02-07 17:01:12 -05:00
Rodrigo Primo 61f037060b Use 'yes' instead of 'true' as the value of the option woocommerce_queue_flush_rewrite_rules
WC seems to use 'yes' and 'no' instead of 'true' and 'false' as the values of boolean options, so this commit changes the value of the option woocommerce_queue_flush_rewrite_rules to follow this pattern. Also, the string 'false' can induce bugs as it is truthy.
2018-02-07 10:54:01 -02:00
Gerhard Potgieter df0970dd07 Add search label when searching via product crud helper. 2018-02-07 11:02:50 +02:00
Gerhard Potgieter f4acfc9999 Unset the s param when doing a datastore search as it will cause a double search. 2018-02-07 10:44:49 +02:00
Claudiu Lodromanean bc5faec5c0
Merge pull request #18829 from woocommerce/fix/18819
Fix partial refund handling in taxes by date report
2018-02-06 06:30:05 -08:00
Mike Jolley a0252af0af
Merge pull request #18511 from woocommerce/update/make-image-gallary-save-crud
Image Gallery missing CRUD calls
2018-02-06 11:38:38 +00:00
Mike Jolley bd72bf89f2 Fix partial refund handling in taxes by date report 2018-02-06 11:31:40 +00:00
Mike Jolley 815e0d14fd
Merge pull request #18816 from woocommerce/fix/18815
Use add query arg in customizer links
2018-02-06 11:10:53 +00:00
Mike Jolley 9ff0a9717f Adjust query arg 2018-02-06 11:10:28 +00:00
Mike Jolley efc698ece1
Merge pull request #18823 from nishitlangaliya/Issue-18785
rephrasing create a first product to as per suggestion ref #18785
2018-02-06 11:05:26 +00:00
nishitlangaliya 70ea46d573 rephrasing create a first product to as per suggestion ref #18785 2018-02-06 06:35:15 +05:30
claudiulodro 0c98f5d874 Remove extra ?> 2018-02-05 13:10:50 -08:00
Shiva Poudel 0f8f33b645 Renamed per page option 2018-02-06 01:54:12 +05:45
Shiva Poudel cbe190172b On reload hidden columns should not be rendered 2018-02-06 01:40:45 +05:45
Shiva Poudel 5c991a6929 Load list tables before columns are rendered in screen option 2018-02-06 01:35:16 +05:45
Shiva Poudel 018da951ce Save and use the per page screen option value for API Keys 2018-02-06 01:30:12 +05:45
Shiva Poudel ccc10083fe Save and use the per page screen option value in webhook 2018-02-06 01:22:09 +05:45
Shiva Poudel 8a35c8fc23 Fix - Incorrect action as it was filter hook 2018-02-06 01:15:47 +05:45
Shiva Poudel 750e0e78e4 PHPCS fixes 2018-02-06 01:13:26 +05:45
Shiva Poudel 29ce5bf3c3 Action to load stuffs into memory for use 2018-02-06 01:11:38 +05:45
Mike Jolley 0ad37a6426 Use add query arg in customizer links 2018-02-05 17:10:39 +00:00
Claudio Sanches 67e56a7243
Merge pull request #18813 from woocommerce/fix/18796-textdomains
Fix esc_attr/esc_html usage
2018-02-05 13:18:00 -02:00
Mike Jolley e36c05b1d5 Fix esc_attr/esc_html usage 2018-02-05 14:54:18 +00:00
Mike Jolley 00c43e76c1 Tweak customer text 2018-02-05 14:47:12 +00:00
Mike Jolley b46ce1c366
Merge pull request #18796 from woocommerce/fix/18795-coupon-editing
Allow removing coupons on editable orders only
2018-02-05 11:23:03 +00:00
Mike Jolley eb7f1f1daf
Merge pull request #18794 from woocommerce/fix/18791-store-notice-alert
Add notice for moved store notice setting
2018-02-05 11:18:02 +00:00
Caleb Burks 9c3611624c Remove extra CSS padding 2018-02-02 22:19:07 -05:00
Caleb Burks 02952bd0a3 Allow removing coupons on editable orders only 2018-02-02 21:59:09 -05:00
claudiulodro 56230e9189 Refactor to handle percents with comma separators 2018-02-02 11:45:23 -08:00
Caleb Burks 9d062f8d82 Add notice for moved store notice setting 2018-02-02 14:32:37 -05:00
claudiulodro 680b8b6b01 Fix bulk sale/regular price percentage handling 2018-02-02 10:52:24 -08:00
Claudiu Lodromanean 8579c1fecc
Merge pull request #18782 from woocommerce/update/18757
Use CRUD search helper in admin products table
2018-02-02 09:59:49 -08:00
Claudio Sanches 6fc707bacc Merge branch 'cmmarslender-feature/network-order-widget' 2018-02-02 14:47:16 -02:00
Claudio Sanches 9c39dd34cc Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget 2018-02-02 14:46:51 -02:00
Claudio Sanches 9c6141b6f6
Merge pull request #18066 from woocommerce/fix/legacy-api-notice
Updated API settings making clear that is from our legacy REST API
2018-02-02 14:42:32 -02:00
Claudio Sanches 2321e8bdc1 Properly deprecated WC_Admin_List_Table_Products->sku_search() 2018-02-02 14:24:18 -02:00
Claudio Sanches fceca66770 Fixed coding standards 2018-02-02 14:09:47 -02:00
Claudio Sanches bb8f4f0139 Fixed translators notation 2018-02-02 14:05:49 -02:00
Mike Jolley 59d38b5a85 Handle no results 2018-02-02 15:13:37 +00:00
Mike Jolley 6047322c52 Rather than query products by a SKU, use the CRUD search helper. 2018-02-02 15:11:23 +00:00
Claudio Sanches 36963afe99 Make "ID: " translatable
Ref #18738
2018-02-01 19:09:04 -02:00
Mike Jolley 98b24fdc31 Include parent ID when searching for SKUs 2018-02-01 17:31:40 +00:00
Claudio Sanches c4da47f8ad Fixed coding standards 2018-02-01 13:53:29 -02:00
Claudio Sanches 1dc56f5ef9 Fixed missing default value #18753 2018-02-01 13:52:05 -02:00
Claudio Sanches 9a202f93c1
Merge pull request #18756 from Drivingralle/patch-5
Pass on default single_select_page setting field value into output
2018-02-01 13:51:13 -02:00
Ralf Wiechers f098f4edb8
Pass on default single_select_page setting field value into output
Addition to #18753
2018-02-01 15:52:32 +01:00
Ralf Wiechers c6839e7962
Default value for single_select_country and multi_select_countries settings field not passed into output
Fix #18753
2018-02-01 15:45:38 +01:00
Caleb Burks 9aa4d81084 Add product ID to row actions 2018-02-01 01:01:49 -05:00
Mike Jolley 832d767a83 Full support for sorting 2018-01-31 20:17:06 +00:00
Claudio Sanches da8fdc0c91 Include "translators" notation #18671 2018-01-31 15:25:38 -02:00
Claudio Sanches 18b91a041d
Merge pull request #18671 from shoheitanaka/patch-11
Fix : Argument swapping at sprintf
2018-01-31 15:23:37 -02:00
Claudiu Lodromanean c28e2e2de5
Merge pull request #18706 from woocommerce/update/uncategorized
Uncategorized tweaks
2018-01-31 08:16:51 -08:00
Mike Jolley 6f6ddf2eeb Prevent uncategorized from being sorted. it's always top of the list. 2018-01-31 13:34:55 +00:00
Mike Jolley 57c00701e6 Ensure the table handler is only loaded once. Prevents multiple loads if a plugin calls check_ajax_referer many times. 2018-01-31 11:30:10 +00:00
Shohei Tanaka 78e41d225a
Fix : Argument swapping at sprintf
change the arguments from %s to %1$s and %2$s.
2018-01-31 05:50:56 +09:00
Rodrigo Primo 538ee2097c
Merge pull request #18594 from alexminza/master
Added support for additional HTML5 input types for settings/checkout forms
2018-01-30 17:33:13 -02:00
claudiulodro 141aeaa1b3 Fix spacing 2018-01-30 06:15:30 -08:00
Gerhard Potgieter e041136974 Cast multiselect keys as strings since html does not know anything about integers. 2018-01-30 14:03:28 +02:00
Rodrigo Primo 2feacfb47a Display whether or not external object cache is enabled
This commit adds a new line to the section "WordPress environment" of the system status page to indicate whether or not WP external object cache is enabled.
2018-01-29 15:56:01 -02:00
Rodrigo Primo 75fc594013 Manually fix coding standard violations that can't be fixed with phpcbf 2018-01-29 15:55:43 -02:00
Rodrigo Primo a15ecc1601 Automatically fix coding standard violations using phpcbf 2018-01-29 15:53:54 -02:00
Claudiu Lodromanean 183a00503a
Merge pull request #18639 from woocommerce/update/shipping-method-wildcard-wording
Update help text for shipping wildcards. Update to #18611
2018-01-29 08:17:36 -08:00
Claudiu Lodromanean 2cdffd538c
Merge pull request #18636 from MechielCouvaras/patch-2
Update Klarna URLs to relevant versions
2018-01-29 07:45:38 -08:00
Gerhard Potgieter 3e14fd41c4 Update help text for shipping wildcards. Update to #18611 2018-01-29 17:32:55 +02:00
Mechiel Couvaras 8d6f434ba0
Update Klarna URL to relevant versions
Updating Klarna URL to point to the relevant product page (region specific) on WooCommerce.com
2018-01-29 15:40:53 +02:00
Gerhard Potgieter 057c87c457 Add missing woocommerce_update_options_ action for settings classes save methods overridden from parent. 2018-01-26 11:22:09 +02:00
Rodrigo Primo 52eb803e81 Serve WC core copy of the WC logo instead of WC.com copy
This commit changes the URL of the WC logo displayed in the WooCommerce.com Subscriptions page inside WooCommerce admin to use an image served from WC core instead of WC.com.
2018-01-25 16:46:31 -02:00
Rodrigo Primo 526db5faf8 PHPCS fixes 2018-01-25 16:43:07 -02:00
Alexander Minza 519bfadc63 Added support for additional HTML5 input types 2018-01-25 15:14:30 +02:00
Mike Jolley e2d553fb61
Merge pull request #18588 from woocommerce/fix/setup-wizard-copy-and-style-tweaks-for-wc-3-3
Setup wizard: various style and copy tweaks
2018-01-25 12:59:52 +00:00
Paul Dechov 25373cadee Tweak spacing of store setup step towards original static design 2018-01-24 17:21:04 -05:00