WordPress.org

Make WordPress Core

Changeset 32018


Ignore:
Timestamp:
04/04/2015 09:34:15 PM (4 years ago)
Author:
DrewAPicture
Message:

Add proper descriptions for the @global and @param tags in the wp_media_attach_action() DocBlock.

See [31619]. See #31888.

File:
1 edited

Legend:

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

    r31829 r32018  
    30283028 * @since 4.2.0
    30293029 *
    3030  * @global wpdb $wpdb
    3031  * @param int    $parent_id
    3032  * @param string $action
     3030 * @global wpdb $wpdb WordPress database abstraction object.
     3031 *
     3032 * @param int    $parent_id Attachment parent ID.
     3033 * @param string $action    Optional. Attach/detach action. Accepts 'attach' or 'detach'.
     3034 *                          Default 'attach'.
    30333035 */
    30343036function wp_media_attach_action( $parent_id, $action = 'attach' ) {
Note: See TracChangeset for help on using the changeset viewer.