WordPress.org

Make WordPress Core

Ticket #9064: r10603_punc.diff

File r10603_punc.diff, 357 bytes (added by FFEMTcJ, 5 years ago)

Fix

  • wp-includes/comment.php

     
    14151415        // Variables 
    14161416        $ltrs = '\w'; 
    14171417        $gunk = '/#~:.?+=&%@!\-'; 
    1418         $punc = '.:?\-'; 
     1418        $punc = '.:?\-',*()_; 
    14191419        $any = $ltrs . $gunk . $punc; 
    14201420 
    14211421        // Step 1