diff --git a/includes/class-wp-job-manager-post-types.php b/includes/class-wp-job-manager-post-types.php index 15dfc9fa8..579cf87de 100644 --- a/includes/class-wp-job-manager-post-types.php +++ b/includes/class-wp-job-manager-post-types.php @@ -1902,7 +1902,7 @@ public static function sanitize_meta_field_based_on_input_type( $meta_value, $me $type = $fields[ $meta_key ]['type']; } - if ( 'textarea' === $type || 'wp_editor' === $type ) { + if ( 'textarea' === $type || 'wp-editor' === $type ) { return wp_kses_post( wp_unslash( $meta_value ) ); }