Make WordPress Core

Changeset 49474


Ignore:
Timestamp:
11/02/2020 06:02:11 PM (6 years ago)
Author:
helen
Message:

General: Make some inline comments more descriptive.

Props jorbin.
Fixes #51683.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-query.php

    r49193 r49474  
    792792                }
    793793
    794                 // Fairly insane upper bound for search string lengths.
     794                // Fairly large, potentially too large, upper bound for search string lengths.
    795795                if ( ! is_scalar( $qv['s'] ) || ( ! empty( $qv['s'] ) && strlen( $qv['s'] ) > 1600 ) ) {
    796796                        $qv['s'] = '';
  • trunk/src/wp-includes/functions.php

    r49452 r49474  
    17491749        $wp_tables = $wpdb->tables();
    17501750        foreach ( $wp_tables as $table ) {
    1751                 // The existence of custom user tables shouldn't suggest an insane state or prevent a clean installation.
     1751                // The existence of custom user tables shouldn't suggest an unwise state or prevent a clean installation.
    17521752                if ( defined( 'CUSTOM_USER_TABLE' ) && CUSTOM_USER_TABLE == $table ) {
    17531753                        continue;
     
    17651765                }
    17661766
    1767                 // One or more tables exist. We are insane.
     1767                // One or more tables exist. This is not good.
    17681768
    17691769                wp_load_translations_early();
Note: See TracChangeset for help on using the changeset viewer.