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
This commit is contained in:
Drew Jaynes 2024-09-18 06:04:10 +00:00
parent b863c8320c
commit dbc9df26db
2 changed files with 6 additions and 2 deletions

View File

@ -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 );
}

View File

@ -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.