Make WordPress Core


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

    r46586 r47122  
    1212         * <code>
    1313         * $users = array(
    14          *   'alice' => 1, // alice will be mapped to user ID 1
    15          *   'bob' => 'john', // bob will be transformed into john
    16          *   'eve' => false // eve will be imported as is
     14         *   'alice' => 1,      // alice will be mapped to user ID 1.
     15         *   'bob'   => 'john', // bob will be transformed into john.
     16         *   'eve'   => false   // eve will be imported as is.
    1717         * );</code>
    1818         *
     
    3333                $i       = 0;
    3434
    35                 // each user is either mapped to a given ID, mapped to a new user
    36                 // with given login or imported using details in WXR file
     35                // Each user is either mapped to a given ID, mapped to a new user
     36                // with given login or imported using details in WXR file.
    3737                foreach ( $users as $user => $map ) {
    3838                        $authors[ $i ] = $user;
Note: See TracChangeset for help on using the changeset viewer.