Fix E_STRICT notices in walkers. props dvarga. see #24356.

git-svn-id: https://develop.svn.wordpress.org/trunk@24377 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2013-05-28 03:29:15 +00:00
parent 51731fc3eb
commit 0abc45b90f
6 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class Walker_Category_Checklist extends Walker {
$output .= "$indent</ul>\n";
}
function start_el( &$output, $category, $depth, $args, $id = 0 ) {
function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
extract($args);
if ( empty($taxonomy) )
$taxonomy = 'category';