Skip to content

Commit 296d0c1

Browse files
committed
Use semantic version (start with 2.2.1)
1 parent 89a0e3f commit 296d0c1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/WordpressClient.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* A XML-RPC client that implement the {@link http://codex.wordpress.org/XML-RPC_WordPress_API Wordpress API}.
99
*
10-
* @version 2.2
10+
* @version 2.2.1
1111
*
1212
* @author Hieu Le <http://www.hieule.info>
1313
*
@@ -701,6 +701,13 @@ private function _sendRequest($method, $params)
701701
return $response;
702702
}
703703

704+
/**
705+
* Set the correct type for each element in an array
706+
*
707+
* @param array $array
708+
*
709+
* @since 2.2
710+
*/
704711
private function _setXmlrpcType(&$array)
705712
{
706713
foreach($array as $key => $element)

0 commit comments

Comments
 (0)