diff --git a/class-jobs.php b/class-jobs.php index b9f6c1b..c12cb70 100755 --- a/class-jobs.php +++ b/class-jobs.php @@ -707,7 +707,7 @@ public function save_job( $job_id, WP_Post $job ) { $terms_data = stripslashes_deep( $_POST['bbl_translation']['terms'] ); if ( true === is_array( $terms_data ) ) { - array_walk_recursive( $terms_data, 'sanitize_text_field_by_reference' ); + array_walk_recursive( $terms_data, array( $this, 'sanitize_text_field_by_reference' ) ); } else { $terms_data = sanitize_text_field( $terms_data ); }