mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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
This commit is contained in:
@@ -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'] = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user