From 2e2c626d979ecba5809319cf8ff395a3fae6e2cb Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 28 Feb 2010 01:46:39 +0000 Subject: [PATCH] Add filter to the args in wp_link_pages(). fixes #12158 props greenshady git-svn-id: http://svn.automattic.com/wordpress/trunk@13479 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 7aac21d56..aea7be3f7 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -570,6 +570,7 @@ function wp_link_pages($args = '') { ); $r = wp_parse_args( $args, $defaults ); + $r = apply_filters( 'wp_link_pages_args', $r ); extract( $r, EXTR_SKIP ); global $post, $page, $numpages, $multipage, $more, $pagenow;