Docs: Remove & prefixes from parameter documentation to avoid doc parsing errors.

Props sudar for the original patch.

See #35974


git-svn-id: https://develop.svn.wordpress.org/trunk@41686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2017-10-02 22:01:23 +00:00
parent 922ffc4190
commit dd33fc9301
16 changed files with 72 additions and 72 deletions

View File

@@ -159,7 +159,7 @@ class WP_Network_Query {
*
* @since 4.6.0
*
* @param WP_Network_Query &$this The WP_Network_Query instance (passed by reference).
* @param WP_Network_Query $this The WP_Network_Query instance (passed by reference).
*/
do_action_ref_array( 'parse_network_query', array( &$this ) );
}
@@ -192,7 +192,7 @@ class WP_Network_Query {
*
* @since 4.6.0
*
* @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference.
* @param WP_Network_Query $this Current instance of WP_Network_Query (passed by reference).
*/
do_action_ref_array( 'pre_get_networks', array( &$this ) );
@@ -259,7 +259,7 @@ class WP_Network_Query {
* @since 4.6.0
*
* @param array $_networks An array of WP_Network objects.
* @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference.
* @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 WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference.
* @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 ) );