Changeset 21171
- Timestamp:
- 06/28/2012 08:31:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r21008 r21171 862 862 863 863 /** 864 * {@internal Missing Short Description}} 865 * 866 * @since 2.5.0 867 * 868 * @param unknown_type $post 869 * @param unknown_type $attachment 870 * @return unknown 864 * Filters input from media_upload_form_handler() and assigns a default 865 * post_title from the file name if none supplied. 866 * 867 * Illustrates the use of the attachment_fields_to_save filter 868 * which can be used to add default values to any field before saving to DB. 869 * 870 * @since 2.5.0 871 * 872 * @param array $post 873 * @param array $attachment 874 * @return array 871 875 */ 872 876 function image_attachment_fields_to_save($post, $attachment) {
Note: See TracChangeset
for help on using the changeset viewer.