]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/options-media.php
Wordpress 4.5.3-scripts
[autoinstalls/wordpress.git] / wp-admin / options-media.php
index 651b08dd2098b696f8ffe7dd6372aec449ce6fe6..ec6287de15e94b9dbd7e91c9098287415b080c96 100644 (file)
@@ -31,7 +31,7 @@ get_current_screen()->add_help_tab( array(
 
 get_current_screen()->set_help_sidebar(
        '<p><strong>' . __('For more information:') . '</strong></p>' .
-       '<p>' . __('<a href="http://codex.wordpress.org/Settings_Media_Screen" target="_blank">Documentation on Media Settings</a>') . '</p>' .
+       '<p>' . __('<a href="https://codex.wordpress.org/Settings_Media_Screen" target="_blank">Documentation on Media Settings</a>') . '</p>' .
        '<p>' . __('<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
 );
 
@@ -40,12 +40,12 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
 ?>
 
 <div class="wrap">
-<h2><?php echo esc_html( $title ); ?></h2>
+<h1><?php echo esc_html( $title ); ?></h1>
 
 <form action="options.php" method="post">
 <?php settings_fields('media'); ?>
 
-<h3 class="title"><?php _e('Image sizes') ?></h3>
+<h2 class="title"><?php _e('Image sizes') ?></h2>
 <p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
 
 <table class="form-table">
@@ -84,15 +84,19 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
 <?php do_settings_fields('media', 'default'); ?>
 </table>
 
-<?php if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
-<h3 class="title"><?php _e('Embeds') ?></h3>
+<?php
+/**
+ * @global array $wp_settings
+ */
+if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
+<h2 class="title"><?php _e('Embeds') ?></h2>
 <table class="form-table">
 <?php do_settings_fields( 'media', 'embeds' ); ?>
 </table>
 <?php endif; ?>
 
 <?php if ( !is_multisite() ) : ?>
-<h3 class="title"><?php _e('Uploading Files'); ?></h3>
+<h2 class="title"><?php _e('Uploading Files'); ?></h2>
 <table class="form-table">
 <?php
 // If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
@@ -101,7 +105,10 @@ if ( get_option('upload_url_path') || ( get_option('upload_path') != 'wp-content
 <tr>
 <th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
 <td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
-<p class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></p>
+<p class="description"><?php
+       /* translators: %s: wp-content/uploads */
+       printf( __( 'Default is %s' ), '<code>wp-content/uploads</code>' );
+?></p>
 </td>
 </tr>