WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (10 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/attachment/slashes.php

    r46586 r47122  
    1212        wp_set_current_user( $this->author_id );
    1313
    14         // it is important to test with both even and odd numbered slashes as
    15         // kses does a strip-then-add slashes in some of its function calls
     14        // It is important to test with both even and odd numbered slashes,
     15        // as KSES does a strip-then-add slashes in some of its function calls.
    1616        $this->slash_1 = 'String with 1 slash \\';
    1717        $this->slash_2 = 'String with 2 slashes \\\\';
     
    2424
    2525    /**
    26      * Tests the model function that expects slashed data
     26     * Tests the model function that expects slashed data.
    2727     */
    2828    function test_wp_insert_attachment() {
Note: See TracChangeset for help on using the changeset viewer.