From 5d0ba4ba51584ca9beae16c0c649622cf6096b06 Mon Sep 17 00:00:00 2001 From: ozhozh Date: Sat, 23 Apr 2011 17:18:41 +0000 Subject: [PATCH] More filters git-svn-id: http://yourls.googlecode.com/svn/trunk@605 12232710-3e20-11de-b438-597f59cd7555 --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index d535007..355c00f 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1794,7 +1794,7 @@ function yourls_get_request() { function yourls_match_current_protocol( $url, $normal = 'http', $ssl = 'https' ) { if( yourls_is_ssl() ) $url = str_replace( $normal, $ssl, $url ); - return $url; + return yourls_apply_filter( 'match_current_protocol', $url ); } // Fix $_SERVER['REQUEST_URI'] variable for various setups. Stolen from WP. -- 2.45.0