Changeset 10913
- Timestamp:
- 04/12/2009 05:04:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/widgets.php
r10912 r10913 177 177 178 178 $widget_number = isset($control['params'][0]['number']) ? $control['params'][0]['number'] : ''; 179 $add_new = $sidebar_args['_add'];180 179 $id_base = isset($control['id_base']) ? $control['id_base'] : $widget_id; 181 180 … … 220 219 <input type="hidden" name="widget-height" value="<?php echo $control['height']; ?>" /> 221 220 <input type="hidden" name="widget_number" class="widget_number" value="<?php echo $widget_number; ?>" /> 222 <input type="hidden" name="add_new" class="add_new" value="<?php echo $add_new; ?>" />223 221 <?php 224 222 if ( isset($multi_number) ) 225 echo "\t\t\t<input type='hidden' name='multi_number' class='multi_number' value='$multi_number' />\n"; ?> 223 echo "\t\t\t<input type='hidden' name='multi_number' class='multi_number' value='$multi_number' />\n"; 224 225 if ( isset($sidebar_args['_add']) ) 226 echo "\t\t\t<input type='hidden' name='add_new' class='add_new' value='" . $sidebar_args['_add'] . "' />\n"; ?> 226 227 227 228 <div class="widget-control-actions">
Note: See TracChangeset
for help on using the changeset viewer.