Docs: Standardise the format used for documenting parameters passed by reference.

See #35974, #41017

Built from https://develop.svn.wordpress.org/trunk@41688


git-svn-id: http://core.svn.wordpress.org/trunk@41522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2017-10-02 22:14:46 +00:00
parent c5c5fb1cd3
commit 4a16295dc5
22 changed files with 48 additions and 48 deletions

View File

@@ -4448,7 +4448,7 @@ function get_page_children( $page_id, $pages ) {
*
* @since 2.0.0
*
* @param array $pages Posts array, passed by reference.
* @param array $pages Posts array (passed by reference).
* @param int $page_id Optional. Parent page ID. Default 0.
* @return array A list arranged by hierarchy. Children immediately follow their parents.
*/
@@ -4479,8 +4479,8 @@ function get_page_hierarchy( &$pages, $page_id = 0 ) {
* @see _page_traverse_name()
*
* @param int $page_id Page ID.
* @param array $children Parent-children relations, passed by reference.
* @param array $result Result, passed by reference.
* @param array $children Parent-children relations (passed by reference).
* @param array $result Result (passed by reference).
*/
function _page_traverse_name( $page_id, &$children, &$result ){
if ( isset( $children[ $page_id ] ) ){
@@ -5731,7 +5731,7 @@ function _get_last_post_time( $timezone, $field, $post_type = 'any' ) {
*
* @since 1.5.1
*
* @param array $posts Array of post objects, passed by reference.
* @param array $posts Array of post objects (passed by reference).
*/
function update_post_cache( &$posts ) {
if ( ! $posts )