mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@8961 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1820,6 +1820,9 @@ function sanitize_option($option, $value) {
|
||||
case 'default_category':
|
||||
case 'default_email_category':
|
||||
case 'default_link_category':
|
||||
case 'close_comments_days_old':
|
||||
case 'comments_per_page':
|
||||
case 'thread_comments_depth':
|
||||
$value = abs((int) $value);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user