Remove an unnecessary inline `@see` tag and document the `$wpdb` global in two `WP_Comment_Query` methods.
See [31793]. See #31888. git-svn-id: https://develop.svn.wordpress.org/trunk@32038 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e984069608
commit
e3ba57d15d
|
@ -450,7 +450,7 @@ class WP_Comment_Query {
|
||||||
* 'post_author__not_in', 'author__in', 'author__not_in', 'post__in',
|
* 'post_author__not_in', 'author__in', 'author__not_in', 'post__in',
|
||||||
* 'post__not_in', 'include_unapproved', 'type__in', and 'type__not_in'
|
* 'post__not_in', 'include_unapproved', 'type__in', and 'type__not_in'
|
||||||
* arguments to $query_vars.
|
* arguments to $query_vars.
|
||||||
* @since 4.2.0 Moved parsing to {@link WP_Comment_Query::parse_query()}.
|
* @since 4.2.0 Moved parsing to WP_Comment_Query::parse_query().
|
||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
* @param string|array $query Array or URL query string of parameters.
|
* @param string|array $query Array or URL query string of parameters.
|
||||||
|
@ -467,6 +467,8 @@ class WP_Comment_Query {
|
||||||
* @since 4.2.0
|
* @since 4.2.0
|
||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
|
* @global wpdb $wpdb WordPress database abstraction object.
|
||||||
|
*
|
||||||
* @return array The list of comments.
|
* @return array The list of comments.
|
||||||
*/
|
*/
|
||||||
public function get_comments() {
|
public function get_comments() {
|
||||||
|
|
Loading…
Reference in New Issue