Commit Graph

31131 Commits

Author SHA1 Message Date
Manos Psychogyiopoulos e6f25b04d8 Add limit param tests 2019-04-10 12:47:06 +03:00
Manos Psychogyiopoulos 861d42f368 Fix IN type 2019-04-09 05:48:08 +03:00
Manos Psychogyiopoulos b1d7b2c6d0 Refactor json_search_downloadable_products_and_variations 2019-04-09 05:41:49 +03:00
Manos Psychogyiopoulos f6c560d684 Introduce IN and NOT IN clauses in `WC_Product_Data_Store_CPT::search_products`
closes #23245
2019-04-09 05:33:50 +03:00
Timmy Crawford 78aa67641b
Merge pull request #23218 from woocommerce/add/suggestions-display-setting
[3.6] Add setting to control display of Marketplace Suggestions
2019-04-08 18:27:21 -07:00
Timmy Crawford b35945c5f5 PHPCS fix. 2019-04-08 17:21:50 -07:00
Timmy Crawford 14d86a4e55
Merge pull request #23230 from woocommerce/add/product-metabox-suggestions-tab-icon
add 'plugin' dashicon to metabox suggestions tab, for consistency
2019-04-08 16:37:01 -07:00
Timmy Crawford e4552c571d Only show suggestions setting when current user can install_plugins 2019-04-08 16:27:32 -07:00
Timmy Crawford ae66f195a5 Add link to manage suggestions in default/empty view 2019-04-08 16:24:52 -07:00
Timmy Crawford 4a2c706cc0 Add setting to control display of marketplace suggestions. 2019-04-08 16:24:52 -07:00
haszari 0ad914f398 rebuild assets after rebase 2019-04-09 09:59:45 +12:00
haszari 35c1c930f0 ensure suggestions tab icon looks good on smaller screens:
- override line height for <900px consistent with other tabs
2019-04-09 09:58:11 +12:00
haszari ae729ffb80 add 'plugin' dashicon to metabox suggestions tab, for consistency 2019-04-09 09:57:54 +12:00
Timmy Crawford 437adec140
Merge pull request #23241 from woocommerce/fix/product-metabox-nosuggestions-nice-padding-2
[3.6] Improve appearance of no-suggestions state in product edit metabox
2019-04-08 14:55:22 -07:00
Timmy Crawford 616af5c28d
Merge pull request #23216 from woocommerce/update/tracks-opt-out
[3.6] Update opt-out usage tracking text.
2019-04-08 14:27:08 -07:00
haszari 8b2d0aeb5d rebuild suggestions css after rebase 2019-04-09 09:13:17 +12:00
haszari 76b1e267ac add margin under the nosuggestions container & reduce top margin 2019-04-09 09:12:35 +12:00
Timmy Crawford 7ac179f7b8
Merge pull request #23229 from woocommerce/add/manage-suggestions-metabox-link
[3.6] Add manage suggestions link into browse-all metabox footer
2019-04-08 13:59:35 -07:00
Timmy Crawford b4352c8b32
Merge pull request #23203 from woocommerce/update/23199
[3.6] Prevent removal of the wc- prefix from non core order statuses
2019-04-08 12:13:11 -07:00
Timmy Crawford 886d1acca5 Updates to usage tracking text per feedback. 2019-04-08 12:00:11 -07:00
Timmy Crawford 57de03a7d0
Merge pull request #23231 from woocommerce/fix/tracks-issues
[3.6]Tracks: various fixes
2019-04-08 11:09:38 -07:00
Timmy Crawford 06bec2e845
Merge pull request #23210 from woocommerce/update/fb-recommendation-end-date
[3.6] OBW: Display FB recommendation until removed
2019-04-08 10:32:32 -07:00
Timmy Crawford ef4f0f0c0f
Merge pull request #23197 from woocommerce/fix/23182
[3.6] Fix backwards compatibility issues for wc_get_template function w/ tests
2019-04-08 10:19:16 -07:00
Paul Sealock 1d7cd1722a Tracks: various fixes 2019-04-08 15:58:03 +12:00
haszari d2ff99189c enqueue translatable string for `Manage suggestions` link 2019-04-08 15:45:41 +12:00
haszari 06de62177c inject manage link into browse-all metabox footer suggestion 2019-04-08 10:00:25 +12:00
Timmy Crawford 835bf3d69b
Merge pull request #23211 from woocommerce/fix/remove-product-list-suggestions
[3.6] remove product list suggestions
2019-04-05 16:19:32 -07:00
Timmy Crawford 72b9555706 Update opt-out usage tracking text. 2019-04-05 12:59:32 -07:00
haszari 2bef464506 disable products list suggestions (rtl styles, almost forgot to commit) 2019-04-05 13:35:56 +13:00
haszari 16974a9409 disable products list suggestions (styles) 2019-04-05 11:46:29 +13:00
haszari e75dd2c5ac disable products list suggestions (js) 2019-04-05 11:41:15 +13:00
Valerie 0d1c1ec7b6 OBW: Display FB recommendation until removed
Instead of ending the FB recommendation on
a specific date we'll remove it when needed.
2019-04-04 13:34:40 -04:00
Mike Jolley 1cd2959087 unset rather than prevent the template being included. 2019-04-03 16:08:12 +01:00
Mike Jolley 274a471167
Merge pull request #23194 from woocommerce/fix/23171
[3.6] Fix results from wp_term_counts when sorting by menu_order
2019-04-03 15:46:01 +01:00
Mike Jolley 50f246eef9
Merge pull request #23191 from woocommerce/fix/gallery-empty-args
[3.6] Fix BC break by allowing wc_product_gallery to be called without any arguments.
2019-04-03 15:45:45 +01:00
Mike Jolley 9ea63486e6 Add get_post_status helper method and ensure prefix gets added for most statuses 2019-04-03 14:21:38 +01:00
Mike Jolley 2e9ce0a061 unit tests 2019-04-02 15:18:06 +01:00
Mike Jolley 5ed25e1734 Notice if args are attempted to replace 2019-04-02 15:17:52 +01:00
Mike Jolley 51b3e4f213 Use action_args rather than $template variable which could have been overwritten
Co-Authored-By: dinhtungdu <dinhtungdu@gmail.com>
2019-04-02 14:07:48 +01:00
Mike Jolley 2f0b8cced5 Flip logic so counts ignore sorting rules 2019-04-02 11:56:47 +01:00
Mike Jolley c5b31cee3d Unit test for counts 2019-04-02 11:45:58 +01:00
David Stone 65c4d7d37c Allow wc_product_gallery to be called without any arguments. 2019-04-01 22:56:54 -06:00
Mike Jolley d69f014807
Merge pull request #23184 from dinhtungdu/fix-pr-template
Fix some grammar issues in PR template
2019-04-01 12:52:45 +01:00
Mike Jolley b1e71074b2
Merge pull request #23174 from szepeviktor/patch-2
Fix stray char in PHPDoc of WC_Coupon
2019-04-01 12:46:28 +01:00
Mike Jolley 21daf244e0
Merge pull request #23173 from szepeviktor/patch-1
Fix PHPDoc in WC_Product_Importer
2019-04-01 12:46:08 +01:00
Mike Jolley af1dc5d687
Merge pull request #23176 from woocommerce/renovate/eslint-5.x
Update dependency eslint to v5.16.0
2019-04-01 12:45:27 +01:00
Tung Du 46ee4cbc5f Fix some grammar issues 2019-04-01 18:15:59 +07:00
Renovate Bot f4fc84339d
Update dependency eslint to v5.16.0 2019-03-30 03:59:39 +00:00
Iskander (Alex) Sharipov 00f5b24e33
fix strpos arguments order
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-03-30 03:39:50 +03:00
Viktor Szépe 9e7fc0a35d
Fix stray char in PHPDoc of WC_Coupon
`|`
2019-03-30 00:48:17 +01:00