In Walker::walk()
and Walker::paged_walk()
, $id_field
is set and never used.
See #27882. git-svn-id: https://develop.svn.wordpress.org/trunk@28322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
18916debfd
commit
2b1c764ec7
@ -189,7 +189,6 @@ class Walker {
|
||||
if (empty($elements)) //nothing to walk
|
||||
return $output;
|
||||
|
||||
$id_field = $this->db_fields['id'];
|
||||
$parent_field = $this->db_fields['parent'];
|
||||
|
||||
// flat display
|
||||
@ -276,7 +275,6 @@ class Walker {
|
||||
$args = array_slice( func_get_args(), 4 );
|
||||
$output = '';
|
||||
|
||||
$id_field = $this->db_fields['id'];
|
||||
$parent_field = $this->db_fields['parent'];
|
||||
|
||||
$count = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user