Merge pull request #6242 from chrisnharvey/patch-1

Fixing typo with get_error_message being referenced as a property
This commit is contained in:
Mike Jolley 2014-09-12 14:20:36 +01:00
commit 857f85fd8e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}