WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/23/2016 05:27:19 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Apply inline @see tags to hooks referenced in DocBlocks for wp-admin/* files.

Applying these specially-crafted @see tags allows the Code Reference parser to recognize and link these elements as actions and filters.

See #36921.

File:
1 edited

Legend:

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

    r37488 r37537  
    421421
    422422/**
    423  * Wrapper for _wp_handle_upload(), passes 'wp_handle_upload' action.
     423 * Wrapper for _wp_handle_upload().
     424 *
     425 * Passes the {@see 'wp_handle_upload'} action.
    424426 *
    425427 * @since 2.0.0
     
    427429 * @see _wp_handle_upload()
    428430 *
    429  * @param array      $file      Reference to a single element of $_FILES. Call the function once for
     431 * @param array      $file      Reference to a single element of `$_FILES`. Call the function once for
    430432 *                              each uploaded file.
    431433 * @param array|bool $overrides Optional. An associative array of names=>values to override default
     
    449451
    450452/**
    451  * Wrapper for _wp_handle_upload(), passes 'wp_handle_sideload' action
     453 * Wrapper for _wp_handle_upload().
     454 *
     455 * Passes the {@see 'wp_handle_sideload'} action.
    452456 *
    453457 * @since 2.6.0
     
    455459 * @see _wp_handle_upload()
    456460 *
    457  * @param array      $file      An array similar to that of a PHP $_FILES POST array
     461 * @param array      $file      An array similar to that of a PHP `$_FILES` POST array
    458462 * @param array|bool $overrides Optional. An associative array of names=>values to override default
    459463 *                              variables. Default false.
Note: See TracChangeset for help on using the changeset viewer.