Merge pull request #11078 from nguyenvanduocit/master

Correct docblock for method set_product_image_as_attachment
This commit is contained in:
Mike Jolley 2016-06-09 11:36:55 +01:00
commit 0fd29c7b1b
3 changed files with 5 additions and 5 deletions

View File

@ -1834,10 +1834,10 @@ class WC_API_Products extends WC_API_Resource {
}
/**
* Get product image as attachment
* Sets product image as attachment and returns the attachment ID.
*
* @since 2.2
* @param integer $upload
* @param array $upload
* @param int $id
* @return int
*/

View File

@ -2395,7 +2395,7 @@ class WC_API_Products extends WC_API_Resource {
* Sets product image as attachment and returns the attachment ID.
*
* @since 2.2
* @param integer $upload
* @param array $upload
* @param int $id
* @return int
*/

View File

@ -2057,10 +2057,10 @@ class WC_CLI_Product extends WC_CLI_Command {
}
/**
* Get product image as attachment
* Sets product image as attachment and returns the attachment ID.
*
* @since 2.5.0
* @param int $upload
* @param array $upload
* @param int $id
* @return int
*/