alter
Change-Id: I77386d1b81ca651a70e25526b7313308063e996f
This commit is contained in:
parent
85bff817e2
commit
5bbbcb9baf
@ -25,13 +25,13 @@ public final class WordPress {
|
||||
}
|
||||
|
||||
public WordPress(String xmlRpcUrl, String username, String password) {
|
||||
WPConfig config = new WPConfigBuilder()
|
||||
.xmlRpcUrl(xmlRpcUrl)
|
||||
.username(username)
|
||||
.password(password)
|
||||
.trustAll(true)
|
||||
.build();
|
||||
try {
|
||||
WPConfig config = new WPConfigBuilder()
|
||||
.xmlRpcUrl(xmlRpcUrl)
|
||||
.username(username)
|
||||
.password(password)
|
||||
.trustAll(true)
|
||||
.build();
|
||||
client = new WPClient(config);
|
||||
} catch (Exception e) {
|
||||
throw new WPClientException("Error in creating wp client.", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user