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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-14 06:48:23 +00:00
parent c711c5aaf8
commit 89bc5d972f

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>