Changeset 35958
- Timestamp:
- 12/16/2015 07:55:31 AM (9 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r35567 r35958 286 286 <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p> 287 287 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-plugin'); ?>"> 288 <?php wp_nonce_field( 'plugin-upload' ); ?>289 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file'); ?></label>288 <?php wp_nonce_field( 'plugin-upload' ); ?> 289 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file' ); ?></label> 290 290 <input type="file" id="pluginzip" name="pluginzip" /> 291 291 <?php submit_button( __( 'Install Now' ), 'button', 'install-plugin-submit', false ); ?> -
trunk/src/wp-admin/includes/theme-install.php
r32672 r35958 143 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> 144 144 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>"> 145 <?php wp_nonce_field( 'theme-upload'); ?> 146 <input type="file" name="themezip" /> 145 <?php wp_nonce_field( 'theme-upload' ); ?> 146 <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label> 147 <input type="file" id="themezip" name="themezip" /> 147 148 <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?> 148 149 </form>
Note: See TracChangeset
for help on using the changeset viewer.