Merge pull request #6242 from chrisnharvey/patch-1
Fixing typo with get_error_message being referenced as a property
This commit is contained in:
commit
857f85fd8e
|
@ -259,7 +259,7 @@ class WC_Shortcode_My_Account {
|
|||
|
||||
} elseif ( is_wp_error( $allow ) ) {
|
||||
|
||||
wc_add_notice( $allow->get_error_message, 'error' );
|
||||
wc_add_notice( $allow->get_error_message(), 'error' );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue