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

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

Props huzaifaalmesbah.
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61532


git-svn-id: http://core.svn.wordpress.org/trunk@60843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2026-01-26 22:39:37 +00:00
parent 4015a40146
commit c8dcc31587
2 changed files with 5 additions and 5 deletions

View File

@@ -38,8 +38,8 @@ function media_upload_tabs() {
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param array $tabs
* @return array $tabs with gallery if post has image attachment
* @param array $tabs Associative array of default tab names.
* @return array $tabs Filtered tabs with gallery if post has image attachment.
*/
function update_gallery_tab( $tabs ) {
global $wpdb;
@@ -71,7 +71,7 @@ function update_gallery_tab( $tabs ) {
*
* @since 2.5.0
*
* @global string $redir_tab
* @global string $redir_tab The name of the tab to redirect to.
*/
function the_media_upload_tabs() {
global $redir_tab;
@@ -527,7 +527,7 @@ function media_handle_sideload( $file_array, $post_id = 0, $desc = null, $post_d
* @since 5.3.0 Formalized the existing and already documented `...$args` parameter
* by adding it to the function signature.
*
* @global string $body_id
* @global string $body_id The ID attribute value for the body element.
*
* @param callable $content_func Function that outputs the content.
* @param mixed ...$args Optional additional parameters to pass to the callback function when it's called.

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-alpha-61527';
$wp_version = '7.0-alpha-61532';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.