In Walker::walk() and Walker::paged_walk(), $id_field is set and never used.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28322 git-svn-id: http://core.svn.wordpress.org/trunk@28150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -189,7 +189,6 @@ class Walker {
|
|||||||
if (empty($elements)) //nothing to walk
|
if (empty($elements)) //nothing to walk
|
||||||
return $output;
|
return $output;
|
||||||
|
|
||||||
$id_field = $this->db_fields['id'];
|
|
||||||
$parent_field = $this->db_fields['parent'];
|
$parent_field = $this->db_fields['parent'];
|
||||||
|
|
||||||
// flat display
|
// flat display
|
||||||
@@ -276,7 +275,6 @@ class Walker {
|
|||||||
$args = array_slice( func_get_args(), 4 );
|
$args = array_slice( func_get_args(), 4 );
|
||||||
$output = '';
|
$output = '';
|
||||||
|
|
||||||
$id_field = $this->db_fields['id'];
|
|
||||||
$parent_field = $this->db_fields['parent'];
|
$parent_field = $this->db_fields['parent'];
|
||||||
|
|
||||||
$count = -1;
|
$count = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user