mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Media: Remove unused code from wp-admin/includes/media.php.
Folow-up to [7043], [7062]. Props rudlinkon, hellofromTonya. Fixes #53764. git-svn-id: https://develop.svn.wordpress.org/trunk@51484 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c696a2f773
commit
301eb3c8f6
@ -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($){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user