Changeset 22459 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 11/07/2012 11:54:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r21323 r22459 135 135 function install_themes_upload($page = 1) { 136 136 ?> 137 <h4><?php _e('Install a theme in .zip format') ?></h4>138 <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.') ?></p>139 <form method="post" enctype="multipart/form-data" action="<?php echo self_admin_url('update.php?action=upload-theme')?>">140 <?php wp_nonce_field( 'theme-upload') ?>137 <h4><?php _e('Install a theme in .zip format'); ?></h4> 138 <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p> 139 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>"> 140 <?php wp_nonce_field( 'theme-upload'); ?> 141 141 <input type="file" name="themezip" /> 142 142 <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>
Note: See TracChangeset
for help on using the changeset viewer.