summaryrefslogtreecommitdiffstats
path: root/wp-includes/post-formats.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:18 +0000
commit0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch)
treee139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/post-formats.php
parentAdding upstream version 6.5.5+dfsg1. (diff)
downloadwordpress-upstream.tar.xz
wordpress-upstream.zip
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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 ) {