mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -143,7 +143,7 @@ function wp_link_pages($args = '') {
|
||||
);
|
||||
|
||||
$r = wp_parse_args( $args, $defaults );
|
||||
extract( $r );
|
||||
extract( $r, EXTR_SKIP );
|
||||
|
||||
global $post, $id, $page, $numpages, $multipage, $more, $pagenow;
|
||||
if ( $more_file != '' )
|
||||
@@ -256,7 +256,7 @@ function wp_dropdown_pages($args = '') {
|
||||
);
|
||||
|
||||
$r = wp_parse_args( $args, $defaults );
|
||||
extract( $r );
|
||||
extract( $r, EXTR_SKIP );
|
||||
|
||||
$pages = get_pages($r);
|
||||
$output = '';
|
||||
@@ -287,7 +287,7 @@ function wp_list_pages($args = '') {
|
||||
);
|
||||
|
||||
$r = wp_parse_args( $args, $defaults );
|
||||
extract( $r );
|
||||
extract( $r, EXTR_SKIP );
|
||||
|
||||
$output = '';
|
||||
$current_page = 0;
|
||||
|
||||
Reference in New Issue
Block a user