Make WordPress Core


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

    r47093 r47122  
    4040}
    4141
    42 // Detect and redirect invalid importers like 'movabletype', which is registered as 'mt'
     42// Detect and redirect invalid importers like 'movabletype', which is registered as 'mt'.
    4343if ( ! empty( $_GET['invalid'] ) && isset( $popular_importers[ $_GET['invalid'] ] ) ) {
    4444    $importer_id = $popular_importers[ $_GET['invalid'] ]['importer-id'];
     
    9494
    9595if ( empty( $importers ) ) {
    96     echo '<p>' . __( 'No importers are available.' ) . '</p>'; // TODO: make more helpful
     96    echo '<p>' . __( 'No importers are available.' ) . '</p>'; // TODO: Make more helpful.
    9797} else {
    9898    uasort( $importers, '_usort_by_first_member' );
Note: See TracChangeset for help on using the changeset viewer.