Changeset 44295 for trunk/src/wp-admin/post.php
- Timestamp:
- 12/18/2018 09:31:14 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 44047
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/post.php
r44260 r44295 201 201 // Update the thumbnail filename 202 202 $newmeta = wp_get_attachment_metadata( $post_id, true ); 203 $newmeta['thumb'] = $_POST['thumb'];203 $newmeta['thumb'] = wp_basename( $_POST['thumb'] ); 204 204 205 205 wp_update_attachment_metadata( $post_id, $newmeta );
Note: See TracChangeset
for help on using the changeset viewer.