Changeset 53229
- Timestamp:
- 04/20/2022 08:28:00 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r53228 r53229 8 8 9 9 /** 10 * Defines the default media upload tabs 10 * Defines the default media upload tabs. 11 11 * 12 12 * @since 2.5.0 … … 33 33 34 34 /** 35 * Adds the gallery tab back to the tabs array if post has image attachments 35 * Adds the gallery tab back to the tabs array if post has image attachments. 36 36 * 37 37 * @since 2.5.0 … … 613 613 614 614 /** 615 * Adds the media button to the editor 615 * Adds the media button to the editor. 616 616 * 617 617 * @since 2.5.0 … … 1117 1117 1118 1118 /** 1119 * Retrieve HTML for the image alignment radio buttons with the specified one checked.1119 * Retrieves HTML for the image alignment radio buttons with the specified one checked. 1120 1120 * 1121 1121 * @since 2.7.0 … … 1155 1155 1156 1156 /** 1157 * Retrieve HTML for the size radio buttons with the specified one checked.1157 * Retrieves HTML for the size radio buttons with the specified one checked. 1158 1158 * 1159 1159 * @since 2.7.0 … … 1233 1233 1234 1234 /** 1235 * Retrieve HTML for the Link URL buttons with the default link type as specified.1235 * Retrieves HTML for the Link URL buttons with the default link type as specified. 1236 1236 * 1237 1237 * @since 2.7.0 … … 1267 1267 1268 1268 /** 1269 * Output a textarea element for inputting an attachment caption.1269 * Outputs a textarea element for inputting an attachment caption. 1270 1270 * 1271 1271 * @since 3.4.0 … … 1487 1487 1488 1488 /** 1489 * Retrieve HTML for media items of post gallery.1489 * Retrieves HTML for media items of post gallery. 1490 1490 * 1491 1491 * The HTML markup retrieved will be created for the progress of SWF Upload … … 1499 1499 * @param int $post_id Post ID. 1500 1500 * @param array $errors Errors for attachment, if any. 1501 * @return string 1501 * @return string HTML content for media items of post gallery. 1502 1502 */ 1503 1503 function get_media_items( $post_id, $errors ) { … … 1544 1544 1545 1545 /** 1546 * Retrieve HTML form for modifying the image attachment.1546 * Retrieves HTML form for modifying the image attachment. 1547 1547 * 1548 1548 * @since 2.5.0 … … 2504 2504 2505 2505 /** 2506 * Adds gallery form to upload iframe 2506 * Adds gallery form to upload iframe. 2507 2507 * 2508 2508 * @since 2.5.0 … … 2878 2878 2879 2879 /** 2880 * Creates the form for external url 2880 * Creates the form for external url. 2881 2881 * 2882 2882 * @since 2.7.0 2883 2883 * 2884 2884 * @param string $default_view 2885 * @return string the form html2885 * @return string HTML content of the form. 2886 2886 */ 2887 2887 function wp_media_insert_url_form( $default_view = 'image' ) { … … 3467 3467 3468 3468 /** 3469 * Parse ID3v2, ID3v1, and getID3 comments to extract usable data3469 * Parses ID3v2, ID3v1, and getID3 comments to extract usable data. 3470 3470 * 3471 3471 * @since 3.6.0 3472 3472 * 3473 * @param array $metadata An existing array with data 3474 * @param array $data Data supplied by ID3 tags 3473 * @param array $metadata An existing array with data. 3474 * @param array $data Data supplied by ID3 tags. 3475 3475 */ 3476 3476 function wp_add_id3_tag_data( &$metadata, $data ) { … … 3512 3512 3513 3513 /** 3514 * Retrieve metadata from a video file's ID3 tags3514 * Retrieves metadata from a video file's ID3 tags. 3515 3515 * 3516 3516 * @since 3.6.0 … … 3626 3626 3627 3627 /** 3628 * Retrieve metadata from an audio file's ID3 tags.3628 * Retrieves metadata from an audio file's ID3 tags. 3629 3629 * 3630 3630 * @since 3.6.0 … … 3693 3693 3694 3694 /** 3695 * Parse creation date from media metadata.3695 * Parses creation date from media metadata. 3696 3696 * 3697 3697 * The getID3 library doesn't have a standard method for getting creation dates,
Note: See TracChangeset
for help on using the changeset viewer.