Changeset 13306
- Timestamp:
- 02/22/2010 07:48:38 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import/opml.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/opml.php
r12515 r13306 18 18 function dispatch() { 19 19 global $wpdb, $user_ID; 20 $step = $_POST['step']; 21 if (!$step) $step = 0; 22 ?> 23 <?php 20 $step = isset( $_POST['step'] ) ? $_POST['step'] : 0; 21 24 22 switch ($step) { 25 23 case 0: { … … 40 38 <div style="width: 70%; margin: auto; height: 8em;"> 41 39 <input type="hidden" name="step" value="1" /> 42 <input type="hidden" name="MAX_FILE_SIZE" value=" 30000" />40 <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo wp_max_upload_size(); ?>" /> 43 41 <div style="width: 48%;" class="alignleft"> 44 42 <h3><label for="opml_url"><?php _e('Specify an OPML URL:'); ?></label></h3>
Note: See TracChangeset
for help on using the changeset viewer.