Changeset 47122 for trunk/tests/phpunit/tests/import/base.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/import/base.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/import/base.php
r46586 r47122 12 12 * <code> 13 13 * $users = array( 14 * 'alice' => 1, // alice will be mapped to user ID 115 * 'bob' => 'john', // bob will be transformed into john16 * 'eve' => false // eve will be imported as is14 * '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. 17 17 * );</code> 18 18 * … … 33 33 $i = 0; 34 34 35 // each user is either mapped to a given ID, mapped to a new user36 // 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. 37 37 foreach ( $users as $user => $map ) { 38 38 $authors[ $i ] = $user;
Note: See TracChangeset
for help on using the changeset viewer.