Docs: Add missing documentation for WP_*_Query::get_search_sql() method parameters.

Includes renaming the `$cols` parameter to `$columns` for consistency across the classes.

Follow-up to [42876], [53272-53276].

See #54729.

git-svn-id: https://develop.svn.wordpress.org/trunk@53280 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-04-26 14:02:14 +00:00
parent ffc17842c7
commit 47c2d0ff83
3 changed files with 18 additions and 18 deletions

View File

@@ -1068,8 +1068,8 @@ class WP_Term_Query {
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $search
* @return string
* @param string $search Search string.
* @return string Search SQL.
*/
protected function get_search_sql( $search ) {
global $wpdb;