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:
Ryan Boren
2007-06-14 22:45:40 +00:00
parent 0f0788d24d
commit 09da00f7fe
15 changed files with 33 additions and 33 deletions

View File

@@ -506,7 +506,7 @@ class Walker_Page extends Walker {
function start_el($output, $page, $depth, $current_page, $args) {
if ( $depth )
$indent = str_repeat("\t", $depth);
extract($args);
extract($args, EXTR_SKIP);
$css_class = 'page_item';
$_current_page = get_page( $current_page );
if ( $page->ID == $current_page )
@@ -694,7 +694,7 @@ class WP_Ajax_Response {
);
$r = wp_parse_args( $args, $defaults );
extract( $r );
extract( $r, EXTR_SKIP );
if ( is_wp_error($id) ) {
$data = $id;