mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Coding Standards: Use strict comparison in media_upload_form_handler()
.
Follow-up to [10390]. Props deepakrohilla, iflairwebtechnologies, mukesh27, dingguodong, aristath. Fixes #62009. Built from https://develop.svn.wordpress.org/trunk@59497 git-svn-id: http://core.svn.wordpress.org/trunk@58883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c10dbc8434
commit
708282ecaf
@ -773,7 +773,7 @@ function media_upload_form_handler() {
|
||||
$post['menu_order'] = $attachment['menu_order'];
|
||||
}
|
||||
|
||||
if ( isset( $send_id ) && $attachment_id == $send_id ) {
|
||||
if ( isset( $send_id ) && $attachment_id === $send_id ) {
|
||||
if ( isset( $attachment['post_parent'] ) ) {
|
||||
$post['post_parent'] = $attachment['post_parent'];
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-alpha-59496';
|
||||
$wp_version = '6.8-alpha-59497';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user