Commit dbc9df26db for wordpress.org
commit dbc9df26db5d0e9f90c3a89b0b697cb5da876008
Author: Drew Jaynes <info@drewapicture.com>
Date: Wed Sep 18 06:04:10 2024 +0000
Docs: Add missing @since and @param annotations for the `edit_post_{$field}` hook doc.
Props mukesh27
See #50654
Built from https://develop.svn.wordpress.org/trunk@59050
git-svn-id: http://core.svn.wordpress.org/trunk@58446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/post.php b/wp-includes/post.php
index e522e3eb84..9896139937 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -2968,7 +2968,11 @@ function sanitize_post_field( $field, $value, $post_id, $context = 'display' ) {
* - `edit_post_comment_status`
* - `edit_post_guid`
* - `edit_post_menu_order`
- * @since
+ *
+ * @since 2.3.0
+ *
+ * @param mixed $value Value of the post field.
+ * @param int $post_id Post ID.
*/
$value = apply_filters( "edit_post_{$field}", $value, $post_id );
}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 380b09dc25..f15729b7e5 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.7-alpha-59049';
+$wp_version = '6.7-alpha-59050';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.