summaryrefslogtreecommitdiffstats
path: root/wp-includes/post-formats.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/post-formats.php')
-rw-r--r--wp-includes/post-formats.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php
index 282670b..2c199e6 100644
--- a/wp-includes/post-formats.php
+++ b/wp-includes/post-formats.php
@@ -63,8 +63,8 @@ function has_post_format( $format = array(), $post = null ) {
*
* @since 3.1.0
*
- * @param int|object $post The post for which to assign a format.
- * @param string $format A format to assign. Use an empty string or array to remove all formats from the post.
+ * @param int|WP_Post $post The post for which to assign a format.
+ * @param string $format A format to assign. Use an empty string or array to remove all formats from the post.
* @return array|WP_Error|false Array of affected term IDs on success. WP_Error on error.
*/
function set_post_format( $post, $format ) {