Skip to content

Commit 7ea435f

Browse files
authored
Merge pull request #39 from threadi/feature/optimizedProxyUrlHandling
optimized proxy url handling
2 parents cbf59a5 + df7ac1c commit 7ea435f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

classes/eml/Controller/class-proxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function init(): void {
7777
/**
7878
* Run proxy to show called file.
7979
*/
80-
add_action( 'template_include', array( $this, 'run' ), 10, 1 );
80+
add_filter( 'template_include', array( $this, 'run' ), 10, 1 );
8181

8282
/**
8383
* Refresh rewrite-cache if requested.

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Tested up to: 6.6
66
Requires PHP: 8.0
77
License: GPL-2.0-or-later
88
License URI: https://www.gnu.org/licenses/gpl-2.0.html
9-
Stable tag: 1.3.0
9+
Stable tag: 1.3.1
1010

1111
Add external files to your media library to link or embed them in your website. They will be integrated as if they were locally available.
1212

@@ -106,3 +106,6 @@ No, only public files can be used.
106106
* Compatibility with plugin Prevent Direct Access: hide options for external fields
107107
* Fixed some typos
108108
* Fixed wrong proxied URL after successful import of images
109+
110+
= 1.3.1 =
111+
* Optimized proxy url handling

0 commit comments

Comments
 (0)