From 7918daa76818986993e0a4b3f4746a49a2967df1 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 25 Feb 2008 18:40:46 +0000 Subject: [PATCH] get_pagenum_link filter from Martin2006. fixes #5969 git-svn-id: https://develop.svn.wordpress.org/trunk@7022 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/link-template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 65f8cc1f72..3c387d9470 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -641,6 +641,8 @@ function get_pagenum_link($pagenum = 1) { $result = $base . $request . $query_string; } + $result = apply_filters('get_pagenum_link', $result); + return $result; }