Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 years 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/post/filtering.php

    r46586 r47122  
    11<?php
    22
    3 // save and fetch posts to make sure content is properly filtered.
    4 // these tests don't care what code is responsible for filtering or how it is called, just that it happens when a post is saved.
    5 
    63/**
     4 * Save and fetch posts to make sure content is properly filtered.
     5 *
     6 * These tests don't care what code is responsible for filtering
     7 * or how it is called, just that it happens when a post is saved.
     8 *
    79 * @group post
    810 * @group formatting
     
    2123    }
    2224
    23     // a simple test to make sure unclosed tags are fixed
     25    // A simple test to make sure unclosed tags are fixed.
    2426    function test_post_content_unknown_tag() {
    2527
     
    3840    }
    3941
    40     // a simple test to make sure unbalanced tags are fixed
     42    // A simple test to make sure unbalanced tags are fixed.
    4143    function test_post_content_unbalanced_tag() {
    4244
     
    5557    }
    5658
    57     // test kses filtering of disallowed attribute
     59    // Test KSES filtering of disallowed attribute.
    5860    function test_post_content_disallowed_attr() {
    5961
     
    9294    }
    9395
    94     // make sure unbalanced tags are untouched when the balance option is off
     96    // Make sure unbalanced tags are untouched when the balance option is off.
    9597    function test_post_content_nobalance_nextpage_more() {
    9698
Note: See TracChangeset for help on using the changeset viewer.