Avoid integer overflow with widget IDs. Props mdawaffe. fixes #6210

git-svn-id: https://develop.svn.wordpress.org/trunk@7281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-14 06:48:23 +00:00
parent e8efe189a0
commit 62d3bef1f4

View File

@ -251,7 +251,7 @@ if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) : ?>
<p class="submit">
<input type="hidden" id='sidebar' name='sidebar' value="<?php echo $sidebar; ?>" />
<input type="hidden" id="generated-time" name="generated-time" value="<?php echo time(); ?>" />
<input type="hidden" id="generated-time" name="generated-time" value="<?php echo time() - 1199145600; // Jan 1, 2008 ?>" />
<input type="submit" name="save-widgets" value="<?php _e( 'Save Changes' ); ?>" />
</p>
</div>