mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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:
parent
b863c8320c
commit
dbc9df26db
@ -2968,7 +2968,11 @@ function sanitize_post_field( $field, $value, $post_id, $context = 'display' ) {
|
|||||||
* - `edit_post_comment_status`
|
* - `edit_post_comment_status`
|
||||||
* - `edit_post_guid`
|
* - `edit_post_guid`
|
||||||
* - `edit_post_menu_order`
|
* - `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 );
|
$value = apply_filters( "edit_post_{$field}", $value, $post_id );
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user