scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WordPress 4.4
[autoinstalls/wordpress.git]
/
wp-admin
/
options-media.php
diff --git
a/wp-admin/options-media.php
b/wp-admin/options-media.php
index 21b96eddbc51d484b3647e41b7d0c0779c40d956..ec6287de15e94b9dbd7e91c9098287415b080c96 100644
(file)
--- a/
wp-admin/options-media.php
+++ b/
wp-admin/options-media.php
@@
-45,7
+45,7
@@
include( ABSPATH . 'wp-admin/admin-header.php' );
<form action="options.php" method="post">
<?php settings_fields('media'); ?>
<form action="options.php" method="post">
<?php settings_fields('media'); ?>
-<h
3 class="title"><?php _e('Image sizes') ?></h3
>
+<h
2 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">
<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">
@@
-89,14
+89,14
@@
include( ABSPATH . 'wp-admin/admin-header.php' );
* @global array $wp_settings
*/
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
* @global array $wp_settings
*/
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
-<h
3 class="title"><?php _e('Embeds') ?></h3
>
+<h
2 class="title"><?php _e('Embeds') ?></h2
>
<table class="form-table">
<?php do_settings_fields( 'media', 'embeds' ); ?>
</table>
<?php endif; ?>
<?php if ( !is_multisite() ) : ?>
<table class="form-table">
<?php do_settings_fields( 'media', 'embeds' ); ?>
</table>
<?php endif; ?>
<?php if ( !is_multisite() ) : ?>
-<h
3 class="title"><?php _e('Uploading Files'); ?></h3
>
+<h
2 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)
<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)
@@
-105,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" />
<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>
</td>
</tr>