Changeset 10650 for trunk/wp-admin/includes/theme-install.php
- Timestamp:
- 02/25/2009 11:43:30 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/theme-install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme-install.php
r10606 r10650 243 243 244 244 add_action('install_themes_upload', 'install_themes_upload', 10, 1); 245 function install_themes_upload( ) {245 function install_themes_upload($page = 1) { 246 246 ?> 247 247 <h4><?php _e('Install a theme in .zip format') ?></h4> 248 248 <p><?php _e('If you have a theme in a .zip format, You may install it by uploading it here.') ?></p> 249 <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('theme-install.php?tab= upload') ?>">249 <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('theme-install.php?tab=do_upload') ?>"> 250 250 <?php wp_nonce_field( 'theme-upload') ?> 251 251 <input type="file" name="themezip" /> … … 521 521 522 522 523 add_action('install_themes_ upload', 'upload_theme');523 add_action('install_themes_do_upload', 'upload_theme'); 524 524 function upload_theme() { 525 525
Note: See TracChangeset
for help on using the changeset viewer.