Make WordPress Core


Ignore:
Timestamp:
01/18/2020 12:52:28 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve comments in some wp-admin files per the documentation standards.

Props passoniate.
Fixes #49215, #49216.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/import.php

    r47043 r47084  
    104104    }
    105105
    106     // Construct the object array
     106    // Construct the object array.
    107107    $object = array(
    108108        'post_title'     => wp_basename( $upload['file'] ),
     
    114114    );
    115115
    116     // Save the data
     116    // Save the data.
    117117    $id = wp_insert_attachment( $object, $upload['file'] );
    118118
     
    137137 */
    138138function wp_get_popular_importers() {
    139     include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
     139    include( ABSPATH . WPINC . '/version.php' ); // Include an unmodified $wp_version.
    140140
    141141    $locale            = get_user_locale();
     
    185185
    186186    return array(
    187         // slug => name, description, plugin slug, and register_importer() slug
     187        // slug => name, description, plugin slug, and register_importer() slug.
    188188        'blogger'     => array(
    189189            'name'        => __( 'Blogger' ),
Note: See TracChangeset for help on using the changeset viewer.