Commit Graph

25731 Commits

Author SHA1 Message Date
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
Mike Jolley 0ad37a6426 Use add query arg in customizer links 2018-02-05 17:10:39 +00:00
Rodrigo Primo 13f703fd32 Don't call WC_Install::install() on downgrades
WC doesn't support downgrades but the if condition that decides whether or not to call WC_Install::install() and apply database schema changes was checking if the WC version stored in the database is equal to the WC version in the code. This commit changes the check performed inside the if condition to verify if the WC version stored in the database is smaller than the version in the code. This way `dbDelta()` won't be called automatically by WC and revert database schema changes. This is particulary important for clustered providers where the version of the WC code running in one of the containers could be outdated and trigger a database downgrade.
2018-02-05 14:40:51 -02:00
Rodrigo Primo 16a44964f1 Remove unused code from WC_Tests_Install::test_check_version()
To test the method WC_Install::check_version() it is not necessary to update the of the option 'woocoommerce_db_version' as this method uses only 'woocommerce_version'.
2018-02-05 14:40:43 -02:00
Rodrigo Primo 13351b3d75 phpcs fixes
Removed the print_r() call as phpcs was complaining about it and there is no need to output the version values as phpunit will do that if the test fails.
2018-02-05 14:40:36 -02:00
Claudiu Lodromanean 63f95a4498
Merge pull request #18814 from woocommerce/fix/18797
Fix link button styling
2018-02-05 07:39:40 -08:00
Mike Jolley 079bb0c2a1 Merge branch 'master' into fix/18797 2018-02-05 15:25:08 +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
Claudio Sanches f0b99b3f0d
Merge pull request #18812 from woocommerce/update/18802
Tweak customer text
2018-02-05 13:14:16 -02:00
Claudio Sanches a74f95c638
Merge pull request #18811 from woocommerce/fix/18792
Fix import placeholder lookup
2018-02-05 13:01:00 -02:00
Mike Jolley 107f6e86ed Fix link button styling 2018-02-05 15:00:02 +00: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 d674aa71aa Fix import placeholder lookup 2018-02-05 14:33:34 +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
Mike Jolley 735d43d587
Merge pull request #18790 from woocommerce/fix/18787
Fix bulk sale/regular price percentage handling
2018-02-05 11:16:26 +00:00
Mike Jolley eb5a27d53b
Merge pull request #18793 from woocommerce/fix/18789
More specificity on smallscreen style override
2018-02-05 11:14:37 +00:00
Mike Jolley 5cc912c7f6
Merge pull request #18786 from helgatheviking/master
Add grouped_form class to grouped product <form> element. Closes #18763
2018-02-05 11:01:16 +00:00
Mike Jolley 82cde19628
Merge pull request #18807 from shivapoudel/remove/store-notice-js
Remove demo store notice JS
2018-02-05 10:35:11 +00:00
Shiva Poudel 5e48861ba1 Remove demo store notice JS 2018-02-05 10:23:35 +05:45
Caleb Burks 5c2f90905f Compile & Minify 2018-02-02 22:19:24 -05: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 e72ce75aef More specificity on smallscreen style override 2018-02-02 11:19:31 -08: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
Kathy Darling e54009e652 Add grouped_form class to grouped product <form> element. Closes #18763 2018-02-02 11:17:42 -06: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 9ac1933b39 Merge branch 'master' of github.com:woocommerce/woocommerce 2018-02-02 14:21:32 -02:00
Claudio Sanches 2b132630a1 Do not allow WordPress.PHP.DevelopmentFunctions.error_log_print_r 2018-02-02 14:20:17 -02:00
Claudiu Lodromanean ea11ed8b10
Merge pull request #18767 from woocommerce/fix/18738
Make "ID: " translatable
2018-02-02 08:20:10 -08:00
Claudio Sanches 0755038e8d
Merge pull request #18505 from liquidweb/feature/post-system-status-tool-hook
Add a hook after executing a REST system status tool
2018-02-02 14:19:03 -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
Claudio Sanches 3146f87942
Merge pull request #18777 from shivapoudel/fix/textdomain-check
Exclude textdomain check for libraries
2018-02-02 13:50:54 -02:00
Claudio Sanches 1078990bf6 Composer.lock 2018-02-02 13:47:55 -02:00
Mike Jolley 453ca3907e Fix api docs generation 2018-02-02 13:47:55 -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
Shiva Poudel bbe1870d46 Exclude textdomain check for libraries 2018-02-02 17:27:13 +05:45
Mike Jolley 3a20e6b7d9
Merge pull request #18776 from woocommerce/fix/18768-product-exist-check-remove-from-cart
Product exists check when removing from cart
2018-02-02 11:28:13 +00:00
Gerhard Potgieter 94640ef5af Add back wc_get_product 2018-02-02 12:58:05 +02:00
Gerhard Potgieter fa7fd2228c Add check that product is not false before calling methods in if. 2018-02-02 12:56:24 +02:00