Make WordPress Core


Ignore:
Timestamp:
04/29/2020 05:25:12 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @since versions, remove duplicate comment.
Coding Standards: Fix WPCS issues in tests/formatting/SanitizeFileName.php.

Follow-up to [47633], [47638].

Merges [47663], [47664] to the 5.4 branch.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/tests/phpunit/tests/formatting/SanitizeFileName.php

    r47643 r47665  
    7979        function data_wp_filenames() {
    8080                return array(
    81                         [ urldecode( '%B1myfile.png' ), 'myfile.png' ],
    82                         [ urldecode( '%B1myfile' ), 'myfile' ],
    83                         [ 'demo bar.png', 'demo-bar.png' ],
    84                         [ 'demo' . json_decode( '"\u00a0"' ) . 'bar.png', 'demo-bar.png' ],
     81                        array( urldecode( '%B1myfile.png' ), 'myfile.png' ),
     82                        array( urldecode( '%B1myfile' ), 'myfile' ),
     83                        array( 'demo bar.png', 'demo-bar.png' ),
     84                        array( 'demo' . json_decode( '"\u00a0"' ) . 'bar.png', 'demo-bar.png' ),
    8585                );
    8686        }
Note: See TracChangeset for help on using the changeset viewer.