Make WordPress Core


Ignore:
Timestamp:
10/01/2019 04:12:15 AM (7 years ago)
Author:
whyisjake
Message:

Shortcodes: Improve handling from shortcode_parse_attts().

Added missing @ticket for #47863 on data_shortcode_parse_atts()

Also cleans up some linter fixes that were missed.

Props garrett-eclipse, whyisjake.
ixes #47863.

File:
1 edited

Legend:

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

    r46369 r46370  
    741741
    742742        function data_whole_posts() {
    743                 require_once( DIR_TESTDATA . '/formatting/whole-posts.php' );
     743                require_once DIR_TESTDATA . '/formatting/whole-posts.php';
    744744                return data_whole_posts();
    745745        }
     
    993993         * Data provider for `test_shortcode_parse_atts()`.
    994994         *
     995         * @ticket 47863
     996         *
    995997         * @return array {
    996998         *     @type array {
     
    10581060                                '[unittest link=https://unit.test/ /]',
    10591061                                array(
    1060                                         'link'  => 'https://unit.test/',
     1062                                        'link' => 'https://unit.test/',
    10611063                                ),
    10621064                        ),
     
    10641066                                '[unittest link=https://unit.test/ ]',
    10651067                                array(
    1066                                         'link'  => 'https://unit.test/',
     1068                                        'link' => 'https://unit.test/',
    10671069                                ),
    10681070                        ),
     
    10701072                                '[unittest link=https://unit.test/]',
    10711073                                array(
    1072                                         'link'  => 'https://unit.test',
     1074                                        'link' => 'https://unit.test',
    10731075                                ),
    10741076                        ),
Note: See TracChangeset for help on using the changeset viewer.