Changeset 61594 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 02/07/2026 06:05:09 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/media.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r61532 r61594 869 869 * @since 2.5.0 870 870 * 871 * @return null|string 871 * @return null|string The form handler result or null. 872 872 */ 873 873 function wp_media_upload_handler() { … … 1097 1097 * @since 2.5.0 1098 1098 * 1099 * @return string|null 1099 * @return string|null The form handler result or null. 1100 1100 */ 1101 1101 function media_upload_gallery() { … … 1123 1123 * @since 2.5.0 1124 1124 * 1125 * @return string|null 1125 * @return string|null The form handler result or null. 1126 1126 */ 1127 1127 function media_upload_library() { … … 1149 1149 * @param WP_Post $post 1150 1150 * @param string $checked 1151 * @return string 1151 * @return string HTML for the image alignment radio buttons. 1152 1152 */ 1153 1153 function image_align_input_fields( $post, $checked = '' ) { … … 1187 1187 * @param WP_Post $post 1188 1188 * @param bool|string $check 1189 * @return array 1189 * @return array<string, string> An array of data for the image size input fields. 1190 1190 */ 1191 1191 function image_size_input_fields( $post, $check = '' ) { … … 1265 1265 * @param WP_Post $post 1266 1266 * @param string $url_type 1267 * @return string 1267 * @return string HTML markup for the link URL buttons. 1268 1268 */ 1269 1269 function image_link_input_fields( $post, $url_type = '' ) { … … 1314 1314 * @param array $form_fields 1315 1315 * @param object $post 1316 * @return array 1316 * @return array<string, array<string, mixed>> The attachment form fields. 1317 1317 */ 1318 1318 function image_attachment_fields_to_edit( $form_fields, $post ) { … … 1356 1356 * @param int $attachment_id 1357 1357 * @param array $attachment 1358 * @return string 1358 * @return string HTML markup for the media element. 1359 1359 */ 1360 1360 function image_media_send_to_editor( $html, $attachment_id, $attachment ) { … … 1381 1381 * @param WP_Post $post 1382 1382 * @param array $errors 1383 * @return array 1383 * @return array<string, array<string, mixed>> The attachment fields. 1384 1384 */ 1385 1385 function get_attachment_fields_to_edit( $post, $errors = null ) { … … 1866 1866 1867 1867 /** 1868 * Retrieves the media markup for an attachment. 1869 * 1868 1870 * @since 3.5.0 1869 1871 * 1870 1872 * @param int $attachment_id 1871 1873 * @param array $args 1872 * @return array 1874 * @return array<string, string> An array containing the media item and its metadata. 1873 1875 */ 1874 1876 function get_compat_media_markup( $attachment_id, $args = null ) {
Note: See TracChangeset
for help on using the changeset viewer.