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/src/wp-admin/includes/class-language-pack-upgrader.php

    r45932 r47122  
    193193        }
    194194
    195         // Remove any existing upgrade filters from the plugin/theme upgraders #WP29425 & #WP29230
     195        // Remove any existing upgrade filters from the plugin/theme upgraders #WP29425 & #WP29230.
    196196        remove_all_filters( 'upgrader_pre_install' );
    197197        remove_all_filters( 'upgrader_clear_destination' );
     
    203203        $this->skin->header();
    204204
    205         // Connect to the Filesystem first.
     205        // Connect to the filesystem first.
    206206        $res = $this->fs_connect( array( WP_CONTENT_DIR, WP_LANG_DIR ) );
    207207        if ( ! $res ) {
     
    370370        switch ( $update->type ) {
    371371            case 'core':
    372                 return 'WordPress'; // Not translated
     372                return 'WordPress'; // Not translated.
    373373
    374374            case 'theme':
Note: See TracChangeset for help on using the changeset viewer.