Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit ca5ad41

Browse files
committed
Fix misnamed parameter in docblock
1 parent cc10491 commit ca5ad41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/class-wc-custom-order-table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ public function order_data_store() {
6363
*
6464
* @global $wpdb
6565
*
66-
* @param string $join The SQL JOIN statement.
67-
* @param WP_Query $query The current WP_Query object.
66+
* @param string $join The SQL JOIN statement.
67+
* @param WP_Query $wp_query The current WP_Query object.
6868
*
6969
* @return string The [potentially] filtered JOIN statement.
7070
*/
7171
public function wp_query_customer_query( $join, $wp_query ) {
7272
global $wpdb;
7373

74-
// If there is no wc_customer_query then no need to process anything
74+
// If there is no wc_customer_query then no need to process anything.
7575
if ( ! isset( $wp_query->query_vars['wc_customer_query'] ) ) {
7676
return $join;
7777
}

0 commit comments

Comments
 (0)