Make WordPress Core

Ticket #39836: 39836#.patch

File 39836#.patch, 916 bytes (added by rinkuyadav999, 8 years ago)

Core side changes

  • src/wp-admin/includes/theme-install.php

     
    140140 */
    141141function install_themes_upload() {
    142142?>
    143 <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p>
     143<p class="install-help"><?php echo sprintf( __( 'If you have a theme in a .zip format and smaller than %u MB, you may install it by uploading it here.' ), size_format( wp_max_upload_size() ) ); ?></p>
    144144<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>">
    145145        <?php wp_nonce_field( 'theme-upload' ); ?>
    146146        <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label>