Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (6 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/basic.php

    r46586 r47122  
    99
    1010    function test_license() {
    11         // This test is designed to only run on trunk/master
     11        // This test is designed to only run on trunk/master.
    1212        $this->skipOnAutomatedBranches();
    1313
     
    2222        $package_json    = json_decode( $package_json, true );
    2323        list( $version ) = explode( '-', $GLOBALS['wp_version'] );
    24         // package.json uses x.y.z, so fill cleaned $wp_version for .0 releases
     24        // package.json uses x.y.z, so fill cleaned $wp_version for .0 releases.
    2525        if ( 1 === substr_count( $version, '.' ) ) {
    2626            $version .= '.0';
     
    4040    }
    4141
    42     // test some helper utility functions
     42    // Test some helper utility functions.
    4343
    4444    function test_strip_ws() {
     
    7676        <ol id="authors"><form action="?import=wordpress&amp;step=2&amp;id=" method="post"><input type="hidden" name="_wpnonce" value="855ae98911" /><input type="hidden" name="_wp_http_referer" value="wp-test.php" /><li>Current author: <strong>Alex Shiels</strong><br />Create user  <input type="text" value="Alex Shiels" name="user[]" maxlength="30"> <br /> or map to existing<select name="userselect[0]">
    7777EOF;
    78         // _wpnonce value should be replaced with 'xxx'
     78        // _wpnonce value should be replaced with 'xxx'.
    7979        $expected = <<<EOF
    8080<h2>Assign Authors</h2>
Note: See TracChangeset for help on using the changeset viewer.