Make WordPress Core

Changeset 61532


Ignore:
Timestamp:
01/26/2026 10:38:15 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing descriptions for some admin media function parameters.

Follow-up to [7043], [7092], [8304], [9053], [21871].

Props huzaifaalmesbah.
See #64224.

File:
1 edited

Legend:

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

    r61453 r61532  
    3939 * @global wpdb $wpdb WordPress database abstraction object.
    4040 *
    41  * @param array $tabs
    42  * @return array $tabs with gallery if post has image attachment
     41 * @param array $tabs Associative array of default tab names.
     42 * @return array $tabs Filtered tabs with gallery if post has image attachment.
    4343 */
    4444function update_gallery_tab( $tabs ) {
     
    7272 * @since 2.5.0
    7373 *
    74  * @global string $redir_tab
     74 * @global string $redir_tab The name of the tab to redirect to.
    7575 */
    7676function the_media_upload_tabs() {
     
    528528 *              by adding it to the function signature.
    529529 *
    530  * @global string $body_id
     530 * @global string $body_id The ID attribute value for the body element.
    531531 *
    532532 * @param callable $content_func Function that outputs the content.
Note: See TracChangeset for help on using the changeset viewer.