Skip to content

Commit

Permalink
Merge pull request #175 from PRX/feat/patch-s3-uploads
Browse files Browse the repository at this point in the history
Activate Patched S3 Upload plugin
  • Loading branch information
brandonhundt authored Mar 22, 2024
2 parents dae91ce + 9b7d6f3 commit 7addfd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'disable-comments/disable-comments.php',
'genesis-custom-blocks/genesis-custom-blocks.php',
'PATCH-external-media-without-import/external-media-without-import.php',
'PATCH-s3-uploads/s3-uploads.php',
'microsoft-start/index.php',
'pwa/pwa.php',
'redirection/redirection.php',
Expand Down
8 changes: 4 additions & 4 deletions wp-content/plugins/PATCH-s3-uploads/s3-uploads.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php

/*
Plugin Name: S3 Uploads
Plugin Name: S3 Uploads (PATCHED)
Description: Store uploads in S3
Author: Human Made Limited
Version: 3.0.3
Author URI: https://hmn.md
*/

// wp-content/plugins/s3-uploads/s3-uploads.php
// wp-content/plugins/s3-uploads/s3-uploads.php.
if ( ! class_exists( '\\Aws\\S3\\S3Client' ) ) {
// Require AWS Autoloader file.
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
// Require AWS Autoloader file.
require_once __DIR__ . '/vendor/autoload.php';
}

require_once __DIR__ . '/inc/namespace.php';
Expand Down

0 comments on commit 7addfd1

Please sign in to comment.