How to add a class to figure tag for featured images?

jQuery( document ).ready(function() {    
jQuery("figure").addClass("wp-caption");
});

You could use jQuery to add a class.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)