WordPress.org

Make WordPress Core

Changeset 284 in tests


Ignore:
Timestamp:
12/23/09 09:48:47 (6 years ago)
Author:
westi
Message:

Extra test case for sanitize_text_field() to show that octets obscured by whitespace don't work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_includes_formatting.php

    r283 r284  
    507507            here', 
    508508            'We also %AB remove %ab octets', 
     509            'We don\'t need to wory about %A 
     510            B removing %a 
     511            b octets even when %a   B they are obscured by whitespace', 
    509512        ); 
    510513        $expected = array( 
     
    518521            'newlines are not welcome here', 
    519522            'We also remove octets', 
     523            'We don\'t need to wory about %A B removing %a b octets even when %a B they are obscured by whitespace', 
    520524        ); 
    521525         
Note: See TracChangeset for help on using the changeset viewer.