mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Docs: Further improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46661 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1402,7 +1402,7 @@ class WP_Query {
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @param string[] $terms Array of terms to check.
|
||||
* @return array Terms that are not stopwords.
|
||||
* @return string[] Terms that are not stopwords.
|
||||
*/
|
||||
protected function parse_search_terms( $terms ) {
|
||||
$strtolower = function_exists( 'mb_strtolower' ) ? 'mb_strtolower' : 'strtolower';
|
||||
@@ -1438,7 +1438,7 @@ class WP_Query {
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @return array Stopwords.
|
||||
* @return string[] Stopwords.
|
||||
*/
|
||||
protected function get_search_stopwords() {
|
||||
if ( isset( $this->stopwords ) ) {
|
||||
@@ -3585,7 +3585,7 @@ class WP_Query {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param mixed $post_types Optional. Post type or array of posts types to check against.
|
||||
* @param string|string[] $post_types Optional. Post type or array of posts types to check against.
|
||||
* @return bool
|
||||
*/
|
||||
public function is_post_type_archive( $post_types = '' ) {
|
||||
|
||||
Reference in New Issue
Block a user