WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/02/2017 10:13:04 PM (4 years ago)
Author:
johnbillion
Message:

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

See #35974, #41017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r41651 r41688  
    44494449 * @since 2.0.0
    44504450 *
    4451  * @param array $pages   Posts array, passed by reference.
     4451 * @param array $pages   Posts array (passed by reference).
    44524452 * @param int   $page_id Optional. Parent page ID. Default 0.
    44534453 * @return array A list arranged by hierarchy. Children immediately follow their parents.
     
    44804480 *
    44814481 * @param int   $page_id   Page ID.
    4482  * @param array $children  Parent-children relations, passed by reference.
    4483  * @param array $result    Result, passed by reference.
     4482 * @param array $children  Parent-children relations (passed by reference).
     4483 * @param array $result    Result (passed by reference).
    44844484 */
    44854485function _page_traverse_name( $page_id, &$children, &$result ){
     
    57325732 * @since 1.5.1
    57335733 *
    5734  * @param array $posts Array of post objects, passed by reference.
     5734 * @param array $posts Array of post objects (passed by reference).
    57355735 */
    57365736function update_post_cache( &$posts ) {
Note: See TracChangeset for help on using the changeset viewer.