Skip to content
Snippets Groups Projects
Commit 04a354c4 authored by Erick Hitter's avatar Erick Hitter
Browse files

Correct improper function call.

parent e696a372
No related branches found
No related tags found
No related merge requests found
...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment