Changeset 2165027
- Timestamp:
- 09/29/2019 05:49:27 AM (6 years ago)
- Location:
- processing-projects
- Files:
-
- 4 edited
- 1 copied
-
tags/1.0.2 (copied) (copied from processing-projects/trunk)
-
tags/1.0.2/includes/class-ps-processing-project-meta-box.php (modified) (1 diff)
-
tags/1.0.2/readme.txt (modified) (1 diff)
-
trunk/includes/class-ps-processing-project-meta-box.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
processing-projects/tags/1.0.2/includes/class-ps-processing-project-meta-box.php
r2082980 r2165027 113 113 $zip = new ZipArchive; 114 114 if ($zip->open($file_upload->package) === true) { 115 $zipped_folder = $zip->getNameIndex(0); 115 $first_file = $zip->getNameIndex(0); 116 $zip_path = pathinfo( $first_file, PATHINFO_DIRNAME ); 117 $zipped_folder = $zip_path === '.' ? $first_file : $zip_path . '/'; 116 118 $remote_destination = PROCESSING_PROJECTS_UPLOAD_DIR . $zipped_folder; 117 119 $exiting_project = $wp_filesystem->exists($remote_destination); -
processing-projects/tags/1.0.2/readme.txt
r1854698 r2165027 1 1 === Processing Projects === 2 2 Description: This plugin allows users to upload Processing Projects (in zip format) and easily add them throughout their website using shortcodes. 3 Version: 1.0. 13 Version: 1.0.2 4 4 Requires at least: 4.9.2 5 5 Tested up to: 4.9.2 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 Contributors: Shane Watters 8 8 Author URI: http://www.rocketship.co.nz -
processing-projects/trunk/includes/class-ps-processing-project-meta-box.php
r2082980 r2165027 113 113 $zip = new ZipArchive; 114 114 if ($zip->open($file_upload->package) === true) { 115 $zipped_folder = $zip->getNameIndex(0); 115 $first_file = $zip->getNameIndex(0); 116 $zip_path = pathinfo( $first_file, PATHINFO_DIRNAME ); 117 $zipped_folder = $zip_path === '.' ? $first_file : $zip_path . '/'; 116 118 $remote_destination = PROCESSING_PROJECTS_UPLOAD_DIR . $zipped_folder; 117 119 $exiting_project = $wp_filesystem->exists($remote_destination); -
processing-projects/trunk/readme.txt
r1854698 r2165027 1 1 === Processing Projects === 2 2 Description: This plugin allows users to upload Processing Projects (in zip format) and easily add them throughout their website using shortcodes. 3 Version: 1.0. 13 Version: 1.0.2 4 4 Requires at least: 4.9.2 5 5 Tested up to: 4.9.2 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 Contributors: Shane Watters 8 8 Author URI: http://www.rocketship.co.nz
Note: See TracChangeset
for help on using the changeset viewer.