From cc7478605248b5b1b7a0bd7c604ebb7a45cd80bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Mon, 2 Nov 2020 18:04:07 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-query.php | 2 +- wp-includes/functions.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index 98f5c3c25b..2fe6ee7418 100644 --- a/wp-includes/class-wp-query.php +++ b/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/wp-includes/functions.php b/wp-includes/functions.php index 5c44f37e8a..b594c1de77 100644 --- a/wp-includes/functions.php +++ b/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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9cdbd3f3a9..e748b76699 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.