WordPress.org

Make WordPress Core

Ticket #6210: 6210.diff

File 6210.diff, 641 bytes (added by mdawaffe, 6 years ago)
  • wp-admin/widgets.php

     
    251251 
    252252                <p class="submit"> 
    253253                        <input type="hidden" id='sidebar' name='sidebar' value="<?php echo $sidebar; ?>" /> 
    254                         <input type="hidden" id="generated-time" name="generated-time" value="<?php echo time(); ?>" /> 
     254                        <input type="hidden" id="generated-time" name="generated-time" value="<?php echo time() - 1199145600; // Jan 1, 2008 ?>" /> 
    255255                        <input type="submit" name="save-widgets" value="<?php _e( 'Save Changes' ); ?>" /> 
    256256                </p> 
    257257        </div>