Add user capability and check against it

I think you are using it right. I think it is actually a bug in WordPress.

When you do the same for roles $somerole->add_cap( 'some_cap', false );, it works as expected.

Leave a Comment

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