Skip to content

Commit db0eb96

Browse files
authored
Merge pull request #400 from johnolek/update_wc_compatability_function_return_type
Update wc_get_page_id compatability return type. Sets a return value.
2 parents fecdde3 + e2269f9 commit db0eb96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/BigCommerce/Compatibility/woocommerce-functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ function woocommerce_reset_loop() {
138138

139139
if ( ! function_exists( 'wc_get_page_id' ) ) {
140140
function wc_get_page_id() {
141-
return '';
141+
return -1;
142142
}
143-
}
143+
}

0 commit comments

Comments
 (0)