Verified Commit b8a1365a authored by Kevin Cristiano's avatar Kevin Cristiano 🌎
Browse files

update for php 7.2

parent 401df00b
......@@ -2,8 +2,8 @@
/*
Plugin Name: Taxonomy Widget
Plugin URI: http://wordpress.org/extend/plugins/taxonomy-widget/
Description: Display taxonomy terms in your sidebar.
Version: 0.6.1
Description: Display taxonomy terms in your sidebar. Updated for php 7.2
Version: 0.6.1.1
Author: Michael Fields
Author URI: http://wordpress.mfields.org/
......@@ -361,7 +361,7 @@ class Mfields_Walker_Taxonomy_Dropdown extends Walker {
var $tree_type = 'category';
function start_el( &$output, $term, $depth, $args ) {
function start_el( &$output, $term, $depth = 0, $args = [], $current_object_id = 0 ) {
$url = get_term_link( $term, $term->taxonomy );
$selected = '';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment