Docs: Various docblock corrections.

See #54729


git-svn-id: https://develop.svn.wordpress.org/trunk@53300 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-04-28 09:47:19 +00:00
parent 33c08f16d1
commit 81eb65fd9e
4 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -3368,9 +3368,9 @@ function wp_delete_post( $postid = 0, $force_delete = false ) {
*
* @since 4.4.0
*
* @param bool|null $delete Whether to go forward with deletion.
* @param WP_Post $post Post object.
* @param bool $force_delete Whether to bypass the Trash.
* @param WP_Post|false|null $delete Whether to go forward with deletion. @TODO description
* @param WP_Post $post Post object.
* @param bool $force_delete Whether to bypass the Trash.
*/
$check = apply_filters( 'pre_delete_post', null, $post, $force_delete );
if ( null !== $check ) {
@@ -6344,9 +6344,9 @@ function wp_delete_attachment( $post_id, $force_delete = false ) {
*
* @since 5.5.0
*
* @param bool|null $delete Whether to go forward with deletion.
* @param WP_Post $post Post object.
* @param bool $force_delete Whether to bypass the Trash.
* @param WP_Post|false|null $delete Whether to go forward with deletion. @TODO description
* @param WP_Post $post Post object.
* @param bool $force_delete Whether to bypass the Trash.
*/
$check = apply_filters( 'pre_delete_attachment', null, $post, $force_delete );
if ( null !== $check ) {