PATH:
home
/
letacommog
/
New directory
/
wp-admin3
<?php /** * Media settings administration panel. * * @package WordPress * @subpackage Administration */ /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'manage_options' ) ) { wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); } $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/support/article/settings-media-screen/">Documentation on Media Settings</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' ); include( 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 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"> <tr> <th scope="row"><?php _e( 'Thumbnail size' ); ?></th> <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Thumbnail size' ); ?></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> <tr> <th scope="row"><?php _e( 'Medium size' ); ?></th> <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Medium size' ); ?></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> <tr> <th scope="row"><?php _e( 'Large size' ); ?></th> <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Large size' ); ?></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 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 class="title"><?php _e( 'Uploading Files' ); ?></h2> <table class="form-table" role="presentation"> <?php // If upload_url_path is not the default (empty), and upload_path is not the default ('wp-content/uploads' or empty) 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 include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
[+]
..
[-] n3ky6.php
[edit]
[+]
user
[-] lfcvr.php
[edit]
[-] install-helper.php
[edit]
[-] 1jays.php
[edit]
[-] upgrade.php
[edit]
[-] lnbrk.php
[edit]
[-] imnpc.php
[edit]
[-] ms-upgrade-network.php
[edit]
[-] ws7ek.php
[edit]
[-] media-upload.php
[edit]
[-] admin-footer.php
[edit]
[-] index.php
[edit]
[-] ipeyj.php
[edit]
[-] xfh97.php
[edit]
[-] post.php
[edit]
[-] jskym.php
[edit]
[-] revision.php
[edit]
[-] q6ym4.php
[edit]
[-] 4vd8f.php
[edit]
[-] 7bysv.php
[edit]
[-] post-new.php
[edit]
[-] my-sites.php
[edit]
[-] 23yif.php
[edit]
[-] media-new.php
[edit]
[-] vgyuj.php
[edit]
[-] lxh9v.php
[edit]
[-] sfycm.php
[edit]
[-] nhyx7.php
[edit]
[-] iyyzl.php
[edit]
[-] php.ini
[edit]
[-] mydiq.php
[edit]
[-] menu.php
[edit]
[-] import.php
[edit]
[-] admin-ajax.php
[edit]
[-] erase-personal-data.php
[edit]
[-] 6hz7b.php
[edit]
[-] themes.php
[edit]
[-] yi8gc.php
[edit]
[-] yakwg.php
[edit]
[-] ys2h7.php
[edit]
[-] comment.php
[edit]
[-] privacy-policy-guide.php
[edit]
[-] options-head.php
[edit]
[-] credits.php
[edit]
[-] 3f71g.php
[edit]
[-] theme-editor.php
[edit]
[-] kr2bz.php
[edit]
[-] esynf.php
[edit]
[+]
images
[-] press-this.php
[edit]
[-] 5xzbf.php
[edit]
[-] p5fsw.php
[edit]
[-] async-upload.php
[edit]
[-] freedoms.php
[edit]
[-] 7whid.php
[edit]
[-] q9b46.php
[edit]
[-] load-styles.php
[edit]
[-] b8y3z.php
[edit]
[-] hejmp.php
[edit]
[-] gax9n.php
[edit]
[-] 9x4zk.php
[edit]
[-] lmyaq.php
[edit]
[-] setup-config.php
[edit]
[-] options-permalink.php
[edit]
[-] ms-themes.php
[edit]
[-] snwr2.php
[edit]
[-] b2u5a.php
[edit]
[-] rcxyd.php
[edit]
[-] yuzos.php
[edit]
[-] pur9v.php
[edit]
[-] ms-sites.php
[edit]
[-] kejvp.php
[edit]
[-] b5uzy.php
[edit]
[-] z6ebl.php
[edit]
[-] o8b24.php
[edit]
[-] dfn5i.php
[edit]
[-] 94ke1.php
[edit]
[-] link.php
[edit]
[-] 2ebdx.php
[edit]
[-] update-core.php
[edit]
[-] 4vaj8.php
[edit]
[-] custom-background.php
[edit]
[-] theme-install.php
[edit]
[-] jk3yo.php
[edit]
[-] term.php
[edit]
[-] edit-tags.php
[edit]
[-] cm6s5.php
[edit]
[-] 5e74i.php
[edit]
[-] user-edit.php
[edit]
[-] load-scripts.php
[edit]
[-] 7y6ph.php
[edit]
[-] 1moel.php
[edit]
[-] update.php
[edit]
[-] 5vw64.php
[edit]
[-] fc48y.php
[edit]
[-] plugin-editor.php
[edit]
[-] 49kl6.php
[edit]
[-] iarlp.php
[edit]
[-] idxfr.php
[edit]
[-] 47kqn.php
[edit]
[-] 9muxv.php
[edit]
[-] edit-form-blocks.php
[edit]
[-] link-manager.php
[edit]
[-] edit.php
[edit]
[-] Jkwc8GEyo96.php
[edit]
[+]
js
[-] yv7y6.php
[edit]
[-] g7syb.php
[edit]
[-] 164yp.php
[edit]
[-] 43wym.php
[edit]
[-] rj4sp.php
[edit]
[-] 4ym16.php
[edit]
[-] user-new.php
[edit]
[-] edit-tag-form.php
[edit]
[-] options-reading.php
[edit]
[-] wbfid.php
[edit]
[-] ajrcz.php
[edit]
[-] 4vmra.php
[edit]
[-] options-writing.php
[edit]
[-] 9nls3.php
[edit]
[-] 4fxmn.php
[edit]
[-] mdxef.php
[edit]
[-] customize.php
[edit]
[+]
maint
[-] zm6je.php
[edit]
[-] 8dois.php
[edit]
[-] yuk6v.php
[edit]
[-] dkvre.php
[edit]
[-] edit-form-advanced.php
[edit]
[-] link-parse-opml.php
[edit]
[-] widgets.php
[edit]
[-] 5wjbh.php
[edit]
[-] uhi5e.php
[edit]
[-] v1ei4.php
[edit]
[-] o7muy.php
[edit]
[-] rcgxe.php
[edit]
[-] n69dv.php
[edit]
[-] 8a2jn.php
[edit]
[-] azfcu.php
[edit]
[-] euH3hvKpJgd.php
[edit]
[-] 4vrl5.php
[edit]
[-] r8lik.php
[edit]
[-] upgrade-functions.php
[edit]
[-] xyr9q.php
[edit]
[-] vwxum.php
[edit]
[-] y7vxo.php
[edit]
[-] rckva.php
[edit]
[-] 8c3yv.php
[edit]
[-] soTRzKD2x8Y.php
[edit]
[-] tools.php
[edit]
[-] ms-delete-site.php
[edit]
[-] export-personal-data.php
[edit]
[-] 87ofp.php
[edit]
[-] f7sgp.php
[edit]
[-] xi59o.php
[edit]
[-] 54jsk.php
[edit]
[-] kblpc.php
[edit]
[-] 7y6v4.php
[edit]
[-] wiyyv.php
[edit]
[-] upxgf.php
[edit]
[-] privacy.php
[edit]
[-] e3foa.php
[edit]
[-] jq3y9.php
[edit]
[-] cyxa5.php
[edit]
[-] wpdzu.php
[edit]
[-] qlgho.php
[edit]
[-] dbpv2.php
[edit]
[-] 8ijv5.php
[edit]
[-] export.php
[edit]
[-] edbz6.php
[edit]
[+]
includes
[-] menu-header.php
[edit]
[-] 5eqys.php
[edit]
[-] install.php
[edit]
[-] hbdie.php
[edit]
[-] options-discussion.php
[edit]
[-] 74p21.php
[edit]
[-] admin-functions.php
[edit]
[-] gj217.php
[edit]
[-] ms-users.php
[edit]
[-] edit-comments.php
[edit]
[-] custom-header.php
[edit]
[-] ms-edit.php
[edit]
[-] wu6g8.php
[edit]
[-] profile.php
[edit]
[-] upload.php
[edit]
[-] ms-admin.php
[edit]
[-] plugin-install.php
[edit]
[-] j8mbs.php
[edit]
[-] v2phb.php
[edit]
[-] pws6x.php
[edit]
[-] admin-post.php
[edit]
[+]
network
[-] ms-options.php
[edit]
[-] c9bne.php
[edit]
[-] edit-link-form.php
[edit]
[-] users.php
[edit]
[-] .htaccess
[edit]
[-] g4okd.php
[edit]
[-] site-health.php
[edit]
[-] edq43.php
[edit]
[-] nav-menus.php
[edit]
[-] options-media.php
[edit]
[-] about.php
[edit]
[-] admin.php
[edit]
[-] moderation.php
[edit]
[-] s4hzi.php
[edit]
[-] options-privacy.php
[edit]
[-] edit-form-comment.php
[edit]
[-] plugins.php
[edit]
[-] site-health-info.php
[edit]
[-] 5jawh.php
[edit]
[-] 8brzi.php
[edit]
[-] 5ln28.php
[edit]
[-] 1udrn.php
[edit]
[-] network.php
[edit]
[-] options-general.php
[edit]
[-] mewz4.php
[edit]
[-] pb17i.php
[edit]
[-] ke2pn.php
[edit]
[-] xb4r5.php
[edit]
[-] media.php
[edit]
[-] options.php
[edit]
[-] nubx7.php
[edit]
[+]
css
[-] link-add.php
[edit]
[-] admin-header.php
[edit]
[-] iey6q.php
[edit]
[-] 2k49v.php
[edit]