Media: Ensure that post_id variable is initiated ahead of usage.

This prevents warnings when using custom bulk actions in the media library.

Props gitlost, achbed, Boniu91, wpgurudev, hellofromTonya.

Fixes #39589.

Built from https://develop.svn.wordpress.org/trunk@51111


git-svn-id: http://core.svn.wordpress.org/trunk@50720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
whyisjake
2021-06-08 22:08:09 +00:00
parent 8ace500967
commit 2d6e474c85
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-51110';
$wp_version = '5.8-alpha-51111';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.