mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Document more parameters and properties using typed array notation.
See #41756 git-svn-id: https://develop.svn.wordpress.org/trunk@42876 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -259,7 +259,7 @@ class WP_Network_Query {
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @param array $_networks An array of WP_Network objects.
|
||||
* @param WP_Network[] $_networks An array of WP_Network objects.
|
||||
* @param WP_Network_Query $this Current instance of WP_Network_Query (passed by reference).
|
||||
*/
|
||||
$_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) );
|
||||
@@ -399,7 +399,7 @@ class WP_Network_Query {
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @param array $pieces A compacted array of network query clauses.
|
||||
* @param string[] $pieces An associative array of network query clauses.
|
||||
* @param WP_Network_Query $this Current instance of WP_Network_Query (passed by reference).
|
||||
*/
|
||||
$clauses = apply_filters_ref_array( 'networks_clauses', array( compact( $pieces ), &$this ) );
|
||||
@@ -478,8 +478,8 @@ class WP_Network_Query {
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $string Search string.
|
||||
* @param array $columns Columns to search.
|
||||
* @param string $string Search string.
|
||||
* @param string[] $columns Array of columns to search.
|
||||
*
|
||||
* @return string Search SQL.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user