Make WordPress Core


Ignore:
Timestamp:
11/03/2014 07:08:16 AM (10 years ago)
Author:
wonderboymusic
Message:

Correct some types in wp-admin/*-location files' doc blocks.

See #30224.

File:
1 edited

Legend:

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

    r30202 r30203  
    571571add_action( 'media_buttons', 'media_buttons' );
    572572
     573/**
     574 *
     575 * @global int $post_ID
     576 * @param string $type
     577 * @param int $post_id
     578 * @param string $tab
     579 * @return string
     580 */
    573581function get_upload_iframe_src( $type = null, $post_id = null, $tab = null ) {
    574582    global $post_ID;
     
    718726 * @since 2.5.0
    719727 *
    720  * @return mixed
     728 * @return null|string
    721729 */
    722730function wp_media_upload_handler() {
     
    10921100 * @since 2.5.0
    10931101 *
    1094  * @param WP_Post $post       The WP_Post attachment object.
    1095  * @param array   $attachment An array of attachment metadata.
     1102 * @param array $post       The WP_Post attachment object converted to an array.
     1103 * @param array $attachment An array of attachment metadata.
    10961104 * @return array Filtered attachment post object.
    10971105 */
     
    11181126 * @param integer $attachment_id
    11191127 * @param array $attachment
    1120  * @return array
     1128 * @return string
    11211129 */
    11221130function image_media_send_to_editor($html, $attachment_id, $attachment) {
     
    11421150 * @since 2.5.0
    11431151 *
    1144  * @param object $post
     1152 * @param WP_Post $post
    11451153 * @param array $errors
    11461154 * @return array
Note: See TracChangeset for help on using the changeset viewer.