General: Make some inline comments more descriptive.

Props jorbin.
Fixes #51683.

Built from https://develop.svn.wordpress.org/trunk@49474


git-svn-id: http://core.svn.wordpress.org/trunk@49233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2020-11-02 18:04:07 +00:00
parent cfa1fb8c83
commit cc74786052
3 changed files with 4 additions and 4 deletions

View File

@ -791,7 +791,7 @@ class WP_Query {
$qv['menu_order'] = absint( $qv['menu_order'] ); $qv['menu_order'] = absint( $qv['menu_order'] );
} }
// Fairly insane upper bound for search string lengths. // Fairly large, potentially too large, upper bound for search string lengths.
if ( ! is_scalar( $qv['s'] ) || ( ! empty( $qv['s'] ) && strlen( $qv['s'] ) > 1600 ) ) { if ( ! is_scalar( $qv['s'] ) || ( ! empty( $qv['s'] ) && strlen( $qv['s'] ) > 1600 ) ) {
$qv['s'] = ''; $qv['s'] = '';
} }

View File

@ -1748,7 +1748,7 @@ function is_blog_installed() {
*/ */
$wp_tables = $wpdb->tables(); $wp_tables = $wpdb->tables();
foreach ( $wp_tables as $table ) { foreach ( $wp_tables as $table ) {
// The existence of custom user tables shouldn't suggest an insane state or prevent a clean installation. // The existence of custom user tables shouldn't suggest an unwise state or prevent a clean installation.
if ( defined( 'CUSTOM_USER_TABLE' ) && CUSTOM_USER_TABLE == $table ) { if ( defined( 'CUSTOM_USER_TABLE' ) && CUSTOM_USER_TABLE == $table ) {
continue; continue;
} }
@ -1764,7 +1764,7 @@ function is_blog_installed() {
continue; continue;
} }
// One or more tables exist. We are insane. // One or more tables exist. This is not good.
wp_load_translations_early(); wp_load_translations_early();

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.6-beta2-49473'; $wp_version = '5.6-beta2-49474';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.