Make WordPress Core


Ignore:
Timestamp:
03/19/2023 12:51:14 PM (15 months ago)
Author:
SergeyBiryukov
Message:

Tests: Improve documentation and variable names in some formatting tests.

Includes documenting data provider values using hash notation in the tests for:

  • convert_smilies()
  • get_url_in_content()
  • links_add_target()
  • normalize_whitespace()

Follow-up to [26191], [26327], [26328], [26972], [55562].

See #57841.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/kses.php

    r55562 r55563  
    948948
    949949    /**
    950      * Data Provider for test_safecss_filter_attr().
     950     * Data provider for test_safecss_filter_attr().
    951951     *
    952952     * @return array {
     
    15811581
    15821582    /**
    1583      * Data Provider for test_safecss_filter_attr_filtered().
     1583     * Data provider for test_safecss_filter_attr_filtered().
    15841584     *
    15851585     * @return array {
Note: See TracChangeset for help on using the changeset viewer.