mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-20 11:14:28 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user