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:
wonderboymusic 2014-05-06 21:08:02 +00:00
parent 18916debfd
commit 2b1c764ec7
1 changed files with 0 additions and 2 deletions

View File

@ -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;