Make WordPress Core

Ticket #10454: wp-includes--formatting.php.2.diff

File wp-includes--formatting.php.2.diff, 447 bytes (added by josephscott, 17 years ago)
  • wp-includes/formatting.php

     
    23492349                case 'close_comments_days_old':
    23502350                case 'comments_per_page':
    23512351                case 'thread_comments_depth':
    2352                         $value = abs((int) $value);
     2352                case 'users_can_register':
     2353                        $value = absint( $value );
    23532354                        break;
    23542355
    23552356                case 'posts_per_page':