Skip to content
Permalink
Browse files

Fix typo in requires

  • Loading branch information...
Teemu Suoranta
Teemu Suoranta committed Oct 16, 2019
1 parent ebc87ec commit 4d47f3f615fc706a35a717ec2f8bca140d62ffca
Showing with 2 additions and 2 deletions.
  1. +2 −2 aucor-download-and-replace-attachments.php
@@ -333,8 +333,8 @@ protected function get_attachment_replacement($src, $post_id) {
// gives us access to the download_url() and wp_handle_sideload() functions
require_once ABSPATH . 'wp-admin/includes/file.php';
require_once ABSPATH . '/wp-admin/includes/media.php';
require_once ABSPATH . '/wp-admin/includes/image.php';
require_once ABSPATH . 'wp-admin/includes/media.php';
require_once ABSPATH . 'wp-admin/includes/image.php';
if (!strstr($src, 'http://') && !strstr($src, 'https://')) {
$src = 'http://' . $src;

0 comments on commit 4d47f3f

Please sign in to comment.
You can’t perform that action at this time.