Media: Remove unused code from `wp-admin/includes/media.php`.

Folow-up to [7043], [7062].

Props rudlinkon, hellofromTonya.
Fixes #53764.
Built from https://develop.svn.wordpress.org/trunk@51484


git-svn-id: http://core.svn.wordpress.org/trunk@51095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-07-24 13:03:56 +00:00
parent f053aed3ce
commit b67f94503e
2 changed files with 1 additions and 3 deletions

View File

@ -2577,7 +2577,6 @@ function media_upload_gallery_form( $errors ) {
</div>
<form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="gallery-form">
<?php wp_nonce_field( 'media-form' ); ?>
<?php // media_upload_form( $errors ); ?>
<table class="widefat">
<thead><tr>
<th><?php _e( 'Media' ); ?></th>
@ -2879,7 +2878,6 @@ function media_upload_library_form( $errors ) {
<form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="library-form">
<?php wp_nonce_field( 'media-form' ); ?>
<?php // media_upload_form( $errors ); ?>
<script type="text/javascript">
jQuery(function($){

View File

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