From 4985f741d357c9cb07e5136784189deeca5a9a87 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Mon, 2 Nov 2020 18:02:11 +0000 Subject: [PATCH] General: Make some inline comments more descriptive. Props jorbin. Fixes #51683. git-svn-id: https://develop.svn.wordpress.org/trunk@49474 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-query.php | 2 +- src/wp-includes/functions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-query.php b/src/wp-includes/class-wp-query.php index 98f5c3c25b..2fe6ee7418 100644 --- a/src/wp-includes/class-wp-query.php +++ b/src/wp-includes/class-wp-query.php @@ -791,7 +791,7 @@ class WP_Query { $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 ) ) { $qv['s'] = ''; } diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 5c44f37e8a..b594c1de77 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -1748,7 +1748,7 @@ function is_blog_installed() { */ $wp_tables = $wpdb->tables(); 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 ) { continue; } @@ -1764,7 +1764,7 @@ function is_blog_installed() { continue; } - // One or more tables exist. We are insane. + // One or more tables exist. This is not good. wp_load_translations_early();