Changeset 22532 for trunk/wp-admin/includes/ajax-actions.php
- Timestamp:
- 11/10/2012 06:25:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r22521 r22532 1859 1859 $args['post_excerpt'] = $changes['caption']; 1860 1860 1861 if ( ! empty( $changes['alt'] ) ) 1862 $args['_wp_attachment_image_alt'] = $changes['alt']; 1863 1861 1864 if ( $args ) 1862 wp_update_post( array_merge( $args, array( 'ID' => $id ) ) );1865 edit_post( array_merge( $args, array( 'post_ID' => $id ) ) ); 1863 1866 1864 1867 wp_send_json_success();
Note: See TracChangeset
for help on using the changeset viewer.