Changeset 1842892
- Timestamp:
- 03/19/2018 03:47:55 PM (8 years ago)
- Location:
- multiple-cropped-images/trunk
- Files:
-
- 3 edited
-
dist/MCI_Core.php (modified) (2 diffs)
-
mci.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multiple-cropped-images/trunk/dist/MCI_Core.php
r1842882 r1842892 288 288 } 289 289 290 $id_directory = self::getIdDirectory($post_id); 291 292 if(self::directoryIsEmpty($id_directory)) 293 { 294 self::deleteDirectory($id_directory); 295 } 290 //TODO DELETE ID DIR 296 291 } 297 292 … … 305 300 return is_dir($directory) ? rmdir($directory) : false; 306 301 } 307 308 public static function directoryIsEmpty($directory)309 {310 return count(glob($directory . '*')) === 0;311 }312 302 } -
multiple-cropped-images/trunk/mci.php
r1841447 r1842892 4 4 * Plugin Name: Multiple Cropped Images 5 5 * Description: Allows to upload multiple images to any post and adds cropping functionality to any predefined size. 6 * Version: 1.1. 06 * Version: 1.1.1 7 7 * Author: Webtimal GmbH <info@webtimal.ch> 8 8 * Author URI: http://www.webtimal.ch -
multiple-cropped-images/trunk/readme.txt
r1842885 r1842892 2 2 Tags: Images, Cropping, Upload, Sizes 3 3 Tested up to: 4.9.1 4 Stable tag: v1. 0.04 Stable tag: v1.1.1 5 5 License: GPL-3.0 6 6 License URI: https://www.gnu.org/licenses/gpl-3.0.hmtl
Note: See TracChangeset
for help on using the changeset viewer.