Make WordPress Core

Changeset 37483


Ignore:
Timestamp:
05/22/2016 05:09:16 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Remove invalid inline @link tags from docs in wp-admin/includes/media.php.

See #36910.

File:
1 edited

Legend:

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

    r37342 r37483  
    264264 * @since 2.5.0
    265265 *
    266  * @param string $file_id   Index of the {@link $_FILES} array that the file was sent. Required.
     266 * @param string $file_id   Index of the $_FILES array that the file was sent. Required.
    267267 * @param int    $post_id   The post ID of a post to attach the media item to. Required, but can
    268268 *                          be set to 0, creating a media item that has no relationship to a post.
    269269 * @param array  $post_data Overwrite some of the attachment. Optional.
    270  * @param array  $overrides Override the {@link wp_handle_upload()} behavior. Optional.
     270 * @param array  $overrides Override the wp_handle_upload() behavior. Optional.
    271271 * @return int|WP_Error ID of the attachment or a WP_Error object on failure.
    272272 */
     
    381381
    382382/**
    383  * This handles a sideloaded file in the same way as an uploaded file is handled by {@link media_handle_upload()}
     383 * Handles a side-loaded file in the same way as an uploaded file is handled by media_handle_upload().
    384384 *
    385385 * @since 2.6.0
    386386 *
    387  * @param array $file_array Array similar to a {@link $_FILES} upload array
     387 * @param array $file_array Array similar to a $_FILES upload array
    388388 * @param int $post_id The post ID the media is associated with
    389389 * @param string $desc Description of the sideloaded file
     
    391391 * @return int|object The ID of the attachment or a WP_Error on failure
    392392 */
    393 function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) {
     393function media_handle_sideload( $file_array, $post_id, $desc = null, $post_data = array() ) {
    394394    $overrides = array('test_form'=>false);
    395395
Note: See TracChangeset for help on using the changeset viewer.