Coding Standards: Rename the remaining `$postid` instances in `wp_delete_post()`.
Follow-up to [57853], [57857]. See #60700. Built from https://develop.svn.wordpress.org/trunk@57858 git-svn-id: http://core.svn.wordpress.org/trunk@57359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f09287b6e1
commit
31039a896f
|
@ -3578,10 +3578,10 @@ function wp_delete_post( $post_id = 0, $force_delete = false ) {
|
|||
*
|
||||
* @since 6.6.0
|
||||
*
|
||||
* @param int $postid Post ID.
|
||||
* @param int $post_id Post ID.
|
||||
* @param WP_Post $post Post object.
|
||||
*/
|
||||
do_action( "delete_post_{$post->post_type}", $postid, $post );
|
||||
do_action( "delete_post_{$post->post_type}", $post_id, $post );
|
||||
|
||||
/**
|
||||
* Fires immediately before a post is deleted from the database.
|
||||
|
@ -3607,10 +3607,10 @@ function wp_delete_post( $post_id = 0, $force_delete = false ) {
|
|||
*
|
||||
* @since 6.6.0
|
||||
*
|
||||
* @param int $postid Post ID.
|
||||
* @param int $post_id Post ID.
|
||||
* @param WP_Post $post Post object.
|
||||
*/
|
||||
do_action( "deleted_post_{$post->post_type}", $postid, $post );
|
||||
do_action( "deleted_post_{$post->post_type}", $post_id, $post );
|
||||
|
||||
/**
|
||||
* Fires immediately after a post is deleted from the database.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.6-alpha-57857';
|
||||
$wp_version = '6.6-alpha-57858';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue