diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index 5e7f1bcea..d048b6237 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'WordPressAuthenticator' - s.version = '1.42.2' + s.version = '1.43.0-beta.1' s.summary = 'WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps.' s.description = <<-DESC diff --git a/WordPressAuthenticator/Services/WordPressXMLRPCAPIFacade.m b/WordPressAuthenticator/Services/WordPressXMLRPCAPIFacade.m index 3ab70f049..a30d31101 100644 --- a/WordPressAuthenticator/Services/WordPressXMLRPCAPIFacade.m +++ b/WordPressAuthenticator/Services/WordPressXMLRPCAPIFacade.m @@ -76,7 +76,8 @@ - (void)getBlogOptionsWithEndpoint:(NSURL *)xmlrpc dispatch_async(dispatch_get_main_queue(), ^{ if (![responseObject isKindOfClass:[NSDictionary class]]) { if (failure) { - NSError *error = [NSError errorWithDomain:WordPressOrgXMLRPCApiErrorDomain code:WordPressOrgXMLRPCApiErrorResponseSerializationFailed userInfo:nil]; + NSDictionary *userInfo = @{NSLocalizedDescriptionKey: NSLocalizedString(@"Unable to read the WordPress site at that URL. Tap 'Need Help?' to view the FAQ.", nil)}; + NSError *error = [NSError errorWithDomain:WordPressOrgXMLRPCApiErrorDomain code:WordPressOrgXMLRPCApiErrorResponseSerializationFailed userInfo:userInfo]; failure(error); } return;