Changeset 1086305
- Timestamp:
- 02/10/2015 11:43:08 AM (11 years ago)
- File:
-
- 1 edited
-
media-file-manager/trunk/media-relocator.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
media-file-manager/trunk/media-relocator.php
r1021481 r1086305 4 4 Plugin URI: http://tempspace.net/plugins/?page_id=111 5 5 Description: You can make sub-directories in the upload directory, and move files into them. At the same time, this plugin modifies the URLs/path names in the database. Also an alternative file-selector is added in the editing post/page screen, so you can pick up media files from the subfolders easily. 6 Version: 1.3.1pre 26 Version: 1.3.1pre3 7 7 Author: Atsushi Ueda 8 8 Author URI: http://tempspace.net/plugins/ … … 267 267 } 268 268 $dir1[$i]['thumbnail'] = $min_child; 269 $dir1[$i]['thumbnail_url'] = mrelocator_path2url($dir . $dir1[$min_child]['name']); 269 if ($min_child >= 0) { 270 $dir1[$i]['thumbnail_url'] = mrelocator_path2url($dir . $dir1[$min_child]['name']); 271 } else { 272 $dir1[$i]['thumbnail_url'] = ""; 273 } 270 274 $backup_sizes = unserialize($dbres_all[$db_idx]->meta_value_c); //get_post_meta( $dbres_all[$db_idx]->post_id, '_wp_attachment_backup_sizes', true ); 271 275 //$meta = wp_get_attachment_metadata( $dbres_all[$db_idx]->post_id );
Note: See TracChangeset
for help on using the changeset viewer.