Changeset 48199 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 06/28/2020 02:00:26 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r48185 r48199 170 170 171 171 /** 172 * Adds image shortcode with caption to editor 172 * Adds image shortcode with caption to editor. 173 173 * 174 174 * @since 2.6.0 … … 249 249 250 250 /** 251 * Private preg_replace callback used in image_add_caption() 251 * Private preg_replace callback used in image_add_caption(). 252 252 * 253 253 * @access private … … 260 260 261 261 /** 262 * Adds image html to editor262 * Adds image HTML to editor. 263 263 * 264 264 * @since 2.5.0 … … 277 277 278 278 /** 279 * Save a file submitted from a POST request and create an attachment post for it.279 * Saves a file submitted from a POST request and create an attachment post for it. 280 280 * 281 281 * @since 2.5.0 … … 284 284 * @param int $post_id The post ID of a post to attach the media item to. Required, but can 285 285 * be set to 0, creating a media item that has no relationship to a post. 286 * @param array $post_data O verwrite some of the attachment. Optional.287 * @param array $overrides O verride the wp_handle_upload() behavior. Optional.286 * @param array $post_data Optional. Overwrite some of the attachment. 287 * @param array $overrides Optional. Override the wp_handle_upload() behavior. 288 288 * @return int|WP_Error ID of the attachment or a WP_Error object on failure. 289 289 */
Note: See TracChangeset
for help on using the changeset viewer.