How to validate this deprecated function

First of all, it’s not the add_filter() call that you’re supposed to be modifying, but the callback: ‘filter_user_has_cap’, i.e. go to where that method is defined and change the user level to ‘edit_pages’.

Fixing deprecated notices is easier with the Log Deprecated Notices plugin.

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