Remove $pagenow global from three functions that don’t use it.
Props jeremyfelt. Fixes #24920. git-svn-id: http://core.svn.wordpress.org/trunk@24974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -650,7 +650,7 @@ function wp_link_pages( $args = '' ) {
|
||||
$r = apply_filters( 'wp_link_pages_args', $r );
|
||||
extract( $r, EXTR_SKIP );
|
||||
|
||||
global $page, $numpages, $multipage, $more, $pagenow;
|
||||
global $page, $numpages, $multipage, $more;
|
||||
|
||||
$output = '';
|
||||
if ( $multipage ) {
|
||||
|
||||
Reference in New Issue
Block a user