From 5826e7449959f32789da3d4ac318945c20729c5f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 11 Feb 2023 13:12:19 +0000 Subject: [PATCH] Coding Standards: Pass correct value to `get_delete_post_link()` in `attachment_submit_meta_box()`. The `$deprecated` parameter of `get_delete_post_link()` is documented to accept a string, not `null`. Follow-up to [14099], [21948]. Props krunal265, jrf. Fixes #57690. Built from https://develop.svn.wordpress.org/trunk@55306 git-svn-id: http://core.svn.wordpress.org/trunk@54839 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index b1f1008e36..c66f6657ca 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -472,7 +472,7 @@ function attachment_submit_meta_box( $post ) { echo "" . __( 'Move to Trash' ) . ''; } else { $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : ''; - echo "" . __( 'Delete permanently' ) . ''; + echo "" . __( 'Delete permanently' ) . ''; } } ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index f0b4373c76..0ce60389ad 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-beta1-55305'; +$wp_version = '6.2-beta1-55306'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.