diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index a31332426b..63f479d140 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1084,7 +1084,7 @@ function get_post_meta_by_id( $mid ) { * * @global wpdb $wpdb WordPress database abstraction object. * - * @param int $postid A post ID. + * @param int $post_id A post ID. * @return array[] { * Array of meta data arrays for the given post ID. * @@ -1098,7 +1098,7 @@ function get_post_meta_by_id( $mid ) { * } * } */ -function has_meta( $postid ) { +function has_meta( $post_id ) { global $wpdb; return $wpdb->get_results( @@ -1106,7 +1106,7 @@ function has_meta( $postid ) { "SELECT meta_key, meta_value, meta_id, post_id FROM $wpdb->postmeta WHERE post_id = %d ORDER BY meta_key,meta_id", - $postid + $post_id ), ARRAY_A ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 752c201daf..9a3c9dc530 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57859'; +$wp_version = '6.6-alpha-57860'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.