WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #43545, comment 34


Ignore:
Timestamp:
04/12/2018 11:12:47 AM (15 months ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43545, comment 34

    v1 v2  
    4747- Adds misisng full-stops to inline comments.
    4848- Adds doc parameters for {{{$raw_ip}}} and {{{$expected_result}}}.
    49 - Makes the tests explicit in {{{test_anonymize_text()}}}, {{{test_anonymize_long_text()}}}, i.e. use {{{assertEquals()}}} instead of {{{assertNotEquals()}}}.
    5049- Detailed {{{@return}}} for {{{data_wp_privacy_anonymize_ip()}}}.
    5150- Adds a file doc comment.
    5251- Adds short doc comment for the class.
     52- Makes the tests explicit in {{{test_anonymize_text()}}}, {{{test_anonymize_long_text()}}}, i.e. use {{{assertEquals()}}} instead of {{{assertNotEquals()}}}.
    5353- Adds the invalid IP testcase: {{{::: -> ::}}} that would give a PHP warning if unhandled.
    5454- Adds the invalid IP testcase: {{{null -> 0.0.0.0}}}.