Changeset 991411
- Timestamp:
- 09/16/2014 09:05:53 PM (12 years ago)
- Location:
- tcs3
- Files:
-
- 2 edited
-
tags/1.1/tcS3.php (modified) (2 diffs)
-
trunk/tcS3.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tcs3/tags/1.1/tcS3.php
r991409 r991411 4 4 * Plugin URI: http://www.tc-mccarthy.com 5 5 * Description: Allows site admins to push uploads to S3 6 * Version: 1. 06 * Version: 1.1 7 7 * Author: TC McCarthy 8 8 * Author URI: http://www.tc-mccarthy.com … … 518 518 $post_id = $_POST["postID"]; 519 519 $file_data = wp_get_attachment_metadata($post_id); 520 if(count($file_data) > 0){ 521 $file_data["file"] = get_attached_file($post_id); 522 } 523 520 524 $keys = $this->build_attachment_keys($file_data); 521 525 -
tcs3/trunk/tcS3.php
r991409 r991411 518 518 $post_id = $_POST["postID"]; 519 519 $file_data = wp_get_attachment_metadata($post_id); 520 if(count($file_data) > 0){ 521 $file_data["file"] = get_attached_file($post_id); 522 } 523 520 524 $keys = $this->build_attachment_keys($file_data); 521 525
Note: See TracChangeset
for help on using the changeset viewer.