]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/media.php
Wordpress 4.5.3-scripts
[autoinstalls/wordpress.git] / wp-admin / media.php
index 60abb648f6e5d78b3c51b35c6bde3be1b8caca7e..5f13d3ad163714ffbf58078293e2c29d90036881 100644 (file)
@@ -80,7 +80,7 @@ case 'edit' :
 
        get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
 
        get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
-       '<p>' . __('<a href="http://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentation on Edit Media</a>') . '</p>' .
+       '<p>' . __('<a href="https://codex.wordpress.org/Media_Add_New_Screen#Edit_Media" target="_blank">Documentation on Edit Media</a>') . '</p>' .
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
        );
 
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
        );
 
@@ -92,7 +92,7 @@ case 'edit' :
        if ( isset($_GET['message']) ) {
                switch ( $_GET['message'] ) {
                        case 'updated' :
        if ( isset($_GET['message']) ) {
                switch ( $_GET['message'] ) {
                        case 'updated' :
-                               $message = __('Media attachment updated.');
+                               $message = __('Media file updated.');
                                $class = 'updated';
                                break;
                }
                                $class = 'updated';
                                break;
                }
@@ -103,15 +103,15 @@ case 'edit' :
 ?>
 
 <div class="wrap">
 ?>
 
 <div class="wrap">
-<h2>
+<h1>
 <?php
 echo esc_html( $title );
 if ( current_user_can( 'upload_files' ) ) { ?>
 <?php
 echo esc_html( $title );
 if ( current_user_can( 'upload_files' ) ) { ?>
-       <a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a>
+       <a href="media-new.php" class="page-title-action"><?php echo esc_html_x('Add New', 'file'); ?></a>
 <?php } ?>
 <?php } ?>
-</h2>
+</h1>
 
 
-<form method="post" action="" class="media-upload-form" id="media-single-form">
+<form method="post" class="media-upload-form" id="media-single-form">
 <p class="submit" style="padding-bottom: 0;">
 <?php submit_button( __( 'Update Media' ), 'primary', 'save', false ); ?>
 </p>
 <p class="submit" style="padding-bottom: 0;">
 <?php submit_button( __( 'Update Media' ), 'primary', 'save', false ); ?>
 </p>