Commit Graph

165 Commits

Author SHA1 Message Date
Jaydeep Rami 3522857d23 Fix typo in WooCommerce plugin (#16135)
* Fixed typo

* Fixed more typo

* Fixed more typo

* Fix tyop

* Fix more typo

* Fix more typo

* Fix typo

* Fix typo

* Fix typo

* Fix typo datatime object

* Fix short name of compat

* Fix typo: update short name

* Fix typo "deactive" to "deactivate" and short BW - Compat

* Fix typo "Backwards compat"

* Fix typo 'parameters'

* Fix more typo 'pararmeters'

* Fix typo 'compund'

* FIx typo order

* Fix typo

* Fix typo 'incorrecly'

* Fix typo 'genarate'

* Fix typo 'reletive'

* Fix typo 'Handly'

* Fix typo 'rotatated'

* Fix typo

* Fix typo 'additonal'

* Fix typos
2017-07-17 11:10:52 +01:00
Ninos Ego 6b101d790e Cleanup: WC_Query (#15800)
* Cleanup: WC_Query
Since WP 4.5 search_post_excerpt() is not needed anymore

* Fixed: Deprecate functions instead removing them

* Fixed: Don't forget to return param, otherwise existing filters would not work anymore

* Increased deprecated version from 3.1 to 3.2 because of milestone in PR

* Typo
2017-07-13 11:28:51 +01:00
Mike Jolley a907fd8627 get_catalog_ordering_args should cast orderby to string
Fixes #15769
2017-06-26 13:38:57 +01:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Mike Jolley c4837f4419 Merge pull request #14653 from woocommerce/fix/14150
Update price sorting code
2017-05-23 18:13:27 +01:00
Mike Jolley 8f27df6af3 Merge pull request #14294 from woocommerce/fix/14292
When searching, disable WC sort order
2017-05-23 16:43:24 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley b073454bfc Join needs to append 2017-04-25 12:11:28 +01:00
Mike Jolley 7dc1300811 change price queries 2017-04-24 18:11:16 +01:00
Mike Jolley 3fe7df6515 When searching, disable WC sort order
Closes #14292
2017-04-12 12:42:55 +01:00
Mike Jolley 57f733388c Unused variable 2017-03-27 17:32:00 +01:00
Mike Jolley dea59579bb description changes, and usage of ID's instead of IDs 2017-03-20 15:47:51 +00:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Aristeides Stathopoulos 10ffc92a73 Inline control structures are not allowed 2017-03-07 22:24:24 +02:00
Claudio Sanches 7baaeaafd0 Public WC()->query->get_endpoints_mask() #13179 2017-02-15 12:30:23 -02:00
Kathy Darling f29c51497e add woocommerce_get_query_vars filter 2017-02-13 12:22:05 -06:00
Frédéric Demarle e03000126e Check SHOP_IS_ON_FRONT existence before defining it 2017-01-29 21:32:26 +01:00
Claudio Sanches 539099c7d7 Include $endpoint in woocommerce_endpoint_X_title filter #12676 2016-12-25 20:43:25 -02:00
Guido Scialfa 440d407ce5 Move the 'woocommerce_endpoint_' . $endpoint . '_title' filter outside of the default condition, let's filter the titles regardless of the endpoint 2016-12-22 15:25:22 +01:00
Mike Jolley 8bd08e4c21 typos 2016-12-09 17:04:44 +00:00
Mike Jolley e0e0c9e832 Replace rating filters with taxonomy 2016-12-09 15:43:25 +00:00
Mike Jolley 767a1e500e Helper to get term ids 2016-12-08 17:01:39 +00:00
Mike Jolley 47fbae4d26 Product Visibility Taxonomies (#12527)
* Convert visibility and featured to taxonomy

* Comment

* Add missing tax_queries

* Only check SKU after read.

* Added visibility term for outofstock products to speed those queries up al

* wc_bool_to_string
2016-12-08 10:56:45 +00:00
Mike Jolley d7dfdd3d10 Wrap all deprecation calls. 2016-11-23 16:15:00 +00:00
Mike Jolley ea80897195 This is no longer needed #12272 2016-11-21 12:01:04 +00:00
Mike Jolley 2bcd3b9166 Improved layered nav counts on attribute archives.
Closes #12272
2016-11-21 11:50:40 +00:00
Krzysztof Grabania 4711066490 Removed empty string param in _deprecated_function function (#12301)
`_deprecated_function` has conditional which is checking if third param (replacement) is null. Passing replacement as empty string to this function will fail this test and the end of triggered error will look like this: `Use instead.` instead of `with no alternative available.`. This PR removes all occurrences of empty strings in this function.
2016-11-10 10:17:32 +00:00
Rami Yushuvaev 93d55dade9 add translators comments 2016-10-29 20:32:38 +03:00
Mike Jolley 83aa330621 Enforce loop_shop_post_in array 2016-10-24 07:51:48 +01:00
Claudio Sanches 21f7bfe7bc Fixed price meta_query 2016-10-14 11:19:20 +01:00
Claudio Sanches 8339e9ca25 Introduces wc_get_min_max_price_meta_query() function 2016-10-14 11:19:20 +01:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos 2346c3b735 Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace 2016-09-02 06:15:49 +03:00
Aristeides Stathopoulos 6c30f84fa2 WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys 2016-08-27 06:23:21 +03:00
Aristeides Stathopoulos 58b9df6564 WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis 2016-08-27 05:23:54 +03:00
Mike Jolley 747c48c13b Sort by rating with meta
Closes #11711
2016-08-18 11:33:19 +01:00
Claudio Sanches 35c499aa81 Fixed product archive on front #11500 2016-07-29 18:46:39 -03:00
Mike Jolley 0e1a2d9d04 Removed verbose page rule handling in pre_get_posts
#11500
2016-07-26 13:37:51 +01:00
Mike Jolley d326930d89 Helper to generate search sql 2016-07-19 14:09:31 +01:00
Claudio Sanches ec1c30283f Make easy to remove meta query items, closes #11339 2016-07-11 15:48:47 +02:00
Claudio Sanches 18b1b8c238 Disable empty my account endpoints, closes #11274 2016-06-30 13:58:10 -03:00
Claudio Sanches f8377fd55b Removed dead variable 2016-06-30 02:21:11 -03:00
Mike Jolley b188ad8250 Fix product feed when using shop base 2016-06-21 12:46:39 +01:00
Claudio Sanches 67b2b26c8e Allow top level endpoints only when using a page on the front end
This prevents conflicts when having pages with the same name than
endpoints.
2016-06-17 17:12:42 -03:00
Mike Jolley c8f55cfb8d Layered nav counts when term_id does not match term_taxonomy_id (before splitting).
@claudiosmweb this was a massive pita to fix
2016-06-15 19:20:50 +01:00
Mike Jolley 8441b5085b Layered nav - When getting counts, consider product cat and tag
#11123
2016-06-15 00:07:14 +01:00
Mike Jolley 1185333b56 Move legacy API code into WC_Legacy_API
@claudiosmweb to keep legacy api separated from the new REST API code.
2016-06-07 11:03:16 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00