mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
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:
@@ -933,7 +933,7 @@ class Walker_CategoryDropdown extends Walker {
|
||||
* @param int $depth Depth of category. Used for padding.
|
||||
* @param array $args Uses 'selected' and 'show_count' keys, if they exist.
|
||||
*/
|
||||
function start_el( &$output, $category, $depth, $args, $id = 0 ) {
|
||||
function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
|
||||
$pad = str_repeat(' ', $depth * 3);
|
||||
|
||||
$cat_name = apply_filters('list_cats', $category->name, $category);
|
||||
|
||||
Reference in New Issue
Block a user