Return full URL when using wc_get_account_endpoint_url() function, closes #11365

This commit is contained in:
Claudio Sanches 2016-07-05 19:09:03 -03:00
parent 41f3deb665
commit 475cc036e5
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ function wc_get_account_endpoint_url( $endpoint ) {
return wc_get_page_permalink( 'myaccount' );
}
return wc_get_endpoint_url( $endpoint );
return wc_get_endpoint_url( $endpoint, '', wc_get_page_permalink( 'myaccount' ) );
}
/**