FM

/home/u523506497/domains/mymelon.in/public_html/wp-admin UP

<?php
/**
 * Media settings administration panel.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';

if ( ! current_user_can( 'manage_options' ) ) {
	wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) );
}

// Used in the HTML title tag.
$title       = __( 'Media Settings' );
$parent_file = 'options-general.php';

$media_options_help = '<p>' . __( 'You can set maximum sizes for images inserted into your written content; you can also insert an image as Full Size.' ) . '</p>';

if ( ! is_multisite()
	&& ( get_option( 'upload_url_path' )
		|| get_option( 'upload_path' ) && 'wp-content/uploads' !== get_option( 'upload_path' ) )
) {
	$media_options_help .= '<p>' . __( 'Uploading Files allows you to choose the folder and path for storing your uploaded files.' ) . '</p>';
}

$media_options_help .= '<p>' . __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.' ) . '</p>';

get_current_screen()->add_help_tab(
	array(
		'id'      => 'overview',
		'title'   => __( 'Overview' ),
		'content' => $media_options_help,
	)
);

get_current_screen()->set_help_sidebar(
	'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
	'<p>' . __( '<a href="https://wordpress.org/documentation/article/settings-media-screen/">Documentation on Media Settings</a>' ) . '</p>' .
	'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);

require_once ABSPATH . 'wp-admin/admin-header.php';

?>

<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>

<form action="options.php" method="post">
<?php settings_fields( 'media' ); ?>

<h2 id="wp-settings-section-image-sizes" 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" role="presentation">
<?php $thumbnail_size_title = __( 'Thumbnail size' ); ?>
<tr>
<th scope="row"><?php echo $thumbnail_size_title; ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php echo $thumbnail_size_title; ?></span></legend>
<label for="thumbnail_size_w"><?php _e( 'Width' ); ?></label>
<input name="thumbnail_size_w" type="number" step="1" min="0" id="thumbnail_size_w" value="<?php form_option( 'thumbnail_size_w' ); ?>" class="small-text" />
<br />
<label for="thumbnail_size_h"><?php _e( 'Height' ); ?></label>
<input name="thumbnail_size_h" type="number" step="1" min="0" id="thumbnail_size_h" value="<?php form_option( 'thumbnail_size_h' ); ?>" class="small-text" />
</fieldset>
<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1"<?php checked( '1', get_option( 'thumbnail_crop' ) ); ?> />
<label for="thumbnail_crop"><?php _e( 'Crop thumbnail to exact dimensions (normally thumbnails are proportional)' ); ?></label>
</td>
</tr>

<?php $medium_size_title = __( 'Medium size' ); ?>
<tr>
<th scope="row"><?php echo $medium_size_title; ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php echo $medium_size_title; ?></span></legend>
<label for="medium_size_w"><?php _e( 'Max Width' ); ?></label>
<input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="<?php form_option( 'medium_size_w' ); ?>" class="small-text" />
<br />
<label for="medium_size_h"><?php _e( 'Max Height' ); ?></label>
<input name="medium_size_h" type="number" step="1" min="0" id="medium_size_h" value="<?php form_option( 'medium_size_h' ); ?>" class="small-text" />
</fieldset></td>
</tr>

<?php $large_size_title = __( 'Large size' ); ?>
<tr>
<th scope="row"><?php echo $large_size_title; ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php echo $large_size_title; ?></span></legend>
<label for="large_size_w"><?php _e( 'Max Width' ); ?></label>
<input name="large_size_w" type="number" step="1" min="0" id="large_size_w" value="<?php form_option( 'large_size_w' ); ?>" class="small-text" />
<br />
<label for="large_size_h"><?php _e( 'Max Height' ); ?></label>
<input name="large_size_h" type="number" step="1" min="0" id="large_size_h" value="<?php form_option( 'large_size_h' ); ?>" class="small-text" />
</fieldset></td>
</tr>

<?php do_settings_fields( 'media', 'default' ); ?>
</table>

<?php
/**
 * @global array $wp_settings
 */
if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) :
	?>
<h2 id="wp-settings-section-embeds" class="title"><?php _e( 'Embeds' ); ?></h2>
<table class="form-table" role="presentation">
	<?php do_settings_fields( 'media', 'embeds' ); ?>
</table>
<?php endif; ?>

<?php if ( ! is_multisite() ) : ?>
<h2 id="wp-settings-section-uploading-files" class="title"><?php _e( 'Uploading Files' ); ?></h2>
<table class="form-table" role="presentation">
	<?php
	/*
	 * If upload_url_path is not the default (empty),
	 * or upload_path is not the default ('wp-content/uploads' or empty),
	 * they can be edited, otherwise they're locked.
	 */
	if ( get_option( 'upload_url_path' )
		|| get_option( 'upload_path' ) && 'wp-content/uploads' !== get_option( 'upload_path' ) ) :
		?>
<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
		/* translators: %s: wp-content/uploads */
		printf( __( 'Default is %s' ), '<code>wp-content/uploads</code>' );
		?>
</p>
</td>
</tr>

<tr>
<th scope="row"><label for="upload_url_path"><?php _e( 'Full URL path to files' ); ?></label></th>
<td><input name="upload_url_path" type="text" id="upload_url_path" value="<?php echo esc_attr( get_option( 'upload_url_path' ) ); ?>" class="regular-text code" />
<p class="description"><?php _e( 'Configuring this is optional. By default, it should be blank.' ); ?></p>
</td>
</tr>
<tr>
<td colspan="2" class="td-full">
<?php else : ?>
<tr>
<td class="td-full">
<?php endif; ?>
<label for="uploads_use_yearmonth_folders">
<input name="uploads_use_yearmonth_folders" type="checkbox" id="uploads_use_yearmonth_folders" value="1"<?php checked( '1', get_option( 'uploads_use_yearmonth_folders' ) ); ?> />
	<?php _e( 'Organize my uploads into month- and year-based folders' ); ?>
</label>
</td>
</tr>

	<?php do_settings_fields( 'media', 'uploads' ); ?>
</table>
<?php endif; ?>

<?php do_settings_sections( 'media' ); ?>

<?php submit_button(); ?>

</form>

</div>

<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
about.php17994V
admin-ajax.php5146V
admin-footer.php2804V
admin-functions.php472V
admin-header.php9284V
admin-post.php2021V
admin.php12935V
async-upload.php5604V
authorize-application.php10335V
comment.php11643V
contribute.php5656V
credits.php4141V
css-
custom-background.php482V
custom-header.php492V
customize.php11586V
edit-comments.php14484V
edit-form-advanced.php29481V
edit-form-blocks.php15528V
edit-form-comment.php13980V
edit-link-form.php6347V
edit-tag-form.php10658V
edit-tags.php22510V
edit.php19952V
erase-personal-data.php7505V
error_log73542V
export-personal-data.php7940V
export.php11265V
font-library.php1480V
freedoms.php4574V
images-
import.php7766V
includes-
index.php7864V
install-helper.php6961V
install.php18375V
js-
link-add.php934V
link-manager.php4361V
link-parse-opml.php2721V
link.php2957V
load-scripts.php2070V
load-styles.php2995V
maint-
media-new.php3249V
media-upload.php3668V
media.php819V
menu-header.php10052V
menu.php18134V
moderation.php307V
ms-admin.php196V
ms-delete-site.php4613V
ms-edit.php216V
ms-options.php229V
ms-sites.php215V
ms-themes.php217V
ms-upgrade-network.php219V
ms-users.php215V
my-sites.php4831V
nav-menus.php50199V
network-
network.php5523V
options-connectors.php1543V
options-discussion.php16403V
options-general.php22855V
options-head.php614V
options-media.php6640V
options-permalink.php22491V
options-privacy.php10704V
options-reading.php10198V
options-writing.php9404V
options.php14266V
plugin-editor.php14071V
plugin-install.php7433V
plugins.php30744V
post-new.php2768V
post.php10821V
press-this.php2470V
privacy-policy-guide.php3756V
privacy.php2512V
profile.php283V
revision.php5836V
setup-config.php17928V
site-editor.php12483V
site-health-info.php4173V
site-health.php10427V
term.php2249V
theme-editor.php17279V
theme-install.php24315V
themes.php49728V
tools-decryption.php0V
tools.php3514V
update-core.php46202V
update.php13062V
upgrade-functions.php341V
upgrade.php6390V
upload.php15292V
user-
user-edit.php41844V
user-new.php24664V
users.php25698V
widgets-form-blocks.php5235V
widgets-form.php19588V
widgets.php1112V
Comments for My Melon – Digital Marketing & Creative Agency https://mymelon.in/ Digital Marketing & Creative Agency Thu, 24 Sep 2026 14:34:59 +0000 hourly 1 https://wordpress.org/?v=7.1.2