Commit 04a354c4 authored by Erick Hitter's avatar Erick Hitter
Browse files

Correct improper function call.

parent e696a372
...@@ -118,12 +118,12 @@ class taxonomy_dropdown_widget_plugin { ...@@ -118,12 +118,12 @@ class taxonomy_dropdown_widget_plugin {
/** /**
* Remove options related to plugin versions older than 2.0. * Remove options related to plugin versions older than 2.0.
* @uses add_filter * @uses apply_filters
* @uses delete_option * @uses delete_option
* @return null * @return null
*/ */
private function cleanup() { private function cleanup() {
if ( ! add_filter( 'taxonomy_dropdown_widget_run_cleanup', true ) ) { if ( ! apply_filters( 'taxonomy_dropdown_widget_run_cleanup', true ) ) {
return; return;
} }
......
Markdown is supported
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