~canonical-sysadmins/wordpress/4.6

« back to all changes in this revision

Viewing changes to wp-admin/options-media.php

  • Committer: Manuel Seelaus
  • Date: 2015-12-09 17:47:18 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: manuel.seelaus@canonical.com-20151209174718-coxethm2swbeqksy
Merge WP4.4 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
<form action="options.php" method="post">
46
46
<?php settings_fields('media'); ?>
47
47
 
48
 
<h3 class="title"><?php _e('Image sizes') ?></h3>
 
48
<h2 class="title"><?php _e('Image sizes') ?></h2>
49
49
<p><?php _e( 'The sizes listed below determine the maximum dimensions in pixels to use when adding an image to the Media Library.' ); ?></p>
50
50
 
51
51
<table class="form-table">
89
89
 * @global array $wp_settings
90
90
 */
91
91
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
92
 
<h3 class="title"><?php _e('Embeds') ?></h3>
 
92
<h2 class="title"><?php _e('Embeds') ?></h2>
93
93
<table class="form-table">
94
94
<?php do_settings_fields( 'media', 'embeds' ); ?>
95
95
</table>
96
96
<?php endif; ?>
97
97
 
98
98
<?php if ( !is_multisite() ) : ?>
99
 
<h3 class="title"><?php _e('Uploading Files'); ?></h3>
 
99
<h2 class="title"><?php _e('Uploading Files'); ?></h2>
100
100
<table class="form-table">
101
101
<?php
102
102
// If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty)
105
105
<tr>
106
106
<th scope="row"><label for="upload_path"><?php _e('Store uploads in this folder'); ?></label></th>
107
107
<td><input name="upload_path" type="text" id="upload_path" value="<?php echo esc_attr(get_option('upload_path')); ?>" class="regular-text code" />
108
 
<p class="description"><?php _e('Default is <code>wp-content/uploads</code>'); ?></p>
 
108
<p class="description"><?php
 
109
        /* translators: %s: wp-content/uploads */
 
110
        printf( __( 'Default is %s' ), '<code>wp-content/uploads</code>' );
 
111
?></p>
109
112
</td>
110
113
</tr>
111
114