mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user