From 0f933f66a0ffbf8d5c5faead59750fc9aa5692df Mon Sep 17 00:00:00 2001 From: ozh Date: Sat, 5 Dec 2015 21:59:49 +0100 Subject: [PATCH] Typo --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions.php b/includes/functions.php index 4baa957..9f67b72 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1814,7 +1814,7 @@ function yourls_get_remote_title( $url ) { $title = $charset = false; - $max_bytes = yourls_filter_apply( 'get_remote_title_max_byte', 2048 ); // limit data fetching to 2K in order to find a tag + $max_bytes = yourls_apply_filter( 'get_remote_title_max_byte', 2048 ); // limit data fetching to 2K in order to find a <title> tag $response = yourls_http_get( $url, array(), array(), array( 'max_bytes' => $max_bytes ) ); // can be a Request object or an error string if( is_string( $response ) ) { -- 2.45.0