From 04a354c4bbb92e45ad7f6c64d735bd86c2ea0ff4 Mon Sep 17 00:00:00 2001 From: Erick Hitter <ehitter@gmail.com> Date: Sun, 29 Dec 2013 16:28:44 -0500 Subject: [PATCH] Correct improper function call. --- tag-dropdown-widget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php index bac18f2..bf637cc 100644 --- a/tag-dropdown-widget.php +++ b/tag-dropdown-widget.php @@ -118,12 +118,12 @@ class taxonomy_dropdown_widget_plugin { /** * Remove options related to plugin versions older than 2.0. - * @uses add_filter + * @uses apply_filters * @uses delete_option * @return null */ private function cleanup() { - if ( ! add_filter( 'taxonomy_dropdown_widget_run_cleanup', true ) ) { + if ( ! apply_filters( 'taxonomy_dropdown_widget_run_cleanup', true ) ) { return; } -- GitLab