CiviDiscount Automatic Discounts Not Working on Events
Your setup looks correct. This should provide a 10% discount to members. They must be logged in to their WordPress account in order to receive the discount otherwise the system will not recognize them as members. 

I recommend using a randomly generated code. This makes it difficult for random visitors to guess the code.