mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
c711c5aaf8
commit
89bc5d972f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user