Skip to content

Commit f68ea98

Browse files
committed
Update README.md
1 parent 296d0c1 commit f68ea98

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
Wordpress XML-RPC PHP Client
22
=======================
33

4+
[![Build Status](https://travis-ci.org/letrunghieu/wordpress-xmlrpc-client.svg?branch=master)](https://travis-ci.org/letrunghieu/wordpress-xmlrpc-client) [![Latest Stable Version](https://poser.pugx.org/hieu-le/wordpress-xmlrpc-client/v/stable.svg)](https://packagist.org/packages/hieu-le/wordpress-xmlrpc-client) [![Total Downloads](https://poser.pugx.org/hieu-le/wordpress-xmlrpc-client/downloads.svg)](https://packagist.org/packages/hieu-le/wordpress-xmlrpc-client) [![Latest Unstable Version](https://poser.pugx.org/hieu-le/wordpress-xmlrpc-client/v/unstable.svg)](https://packagist.org/packages/hieu-le/wordpress-xmlrpc-client) [![License](https://poser.pugx.org/hieu-le/wordpress-xmlrpc-client/license.svg)](https://packagist.org/packages/hieu-le/wordpress-xmlrpc-client)
5+
46
A PHP client for Wordpress websites that closely implement the [XML-RPC WordPress API](http://codex.Wordpress.org/XML-RPC_WordPress_API)
57

68
Created by [Hieu Le](http://www.hieule.info)
79

810
MIT licensed.
911

10-
Current version: 2.2
12+
Current version: 2.2.1
1113

1214

1315
## Features
@@ -16,7 +18,8 @@ Current version: 2.2
1618
* Support UTF-8 content.
1719
* Closely implement the whole [XML-RPC WordPress API](http://codex.Wordpress.org/XML-RPC_WordPress_API).
1820
* Detail exception will be thrown when errors occurs.
19-
* (v2.2) Support proxy and http authentication
21+
* (v2.2) Support proxy and http authentication.
22+
* (v2.2.1) Allow value of `DateTime` class to be convert correctly to `datetime.iso8601` XML-RPC type,
2023

2124
## Installation
2225

@@ -66,6 +69,7 @@ $wpLog->useFiles('path-to-your-log-file');
6669
# The logger instance is optional
6770
$wpClient = new \HieuLe\WordpressXmlrpcClient\WordpressClient($endpoint, 'username', 'password', $wpLog);
6871
```
72+
To use date time value, you must use an instance of `DateTime` class instead of a string.
6973

7074
There will be 2 types of exception may be thrown from this library:
7175

0 commit comments

Comments
 (0)