WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47863


Ignore:
Timestamp:
08/11/2019 02:38:21 PM (6 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47863 – Description

    initial v1  
    55will return an array that looks like this:
    66
    7 
     7{{{
    88(
    99    0 => '[unittest'
     
    1111    1 => 'link="https://unit.test/"]'
    1212)
    13 
     13}}}
    1414
    1515rather than one that looks like this
    1616
    17 
     17{{{
    1818(
    1919    'title' => 'unittest'
    2020    'link' => 'https://unit.test/'
    2121)
    22 
     22}}}
    2323
    2424I've already created a patch for this. I will put it in two parts. First unit tests with a data provider of 6 unit test format examples. 5 out of 6 will fail. I will then include another patch that includes the unit tests plus the proposed fix to the function.