Title: Case bug
Last modified: August 30, 2016

---

# Case bug

 *  [netaction](https://wordpress.org/support/users/netaction/)
 * (@netaction)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/case-bug/)
 * It is impossible to add a custom code in uppercase. It will be saved lowercase
   in the database. And it is impossible for the users to enter a lowercase code.
   Therefore custom codes are completely useless.
 * [https://wordpress.org/plugins/baw-invitation-codes/](https://wordpress.org/plugins/baw-invitation-codes/)

Viewing 1 replies (of 1 total)

 *  [zanozik](https://wordpress.org/support/users/zanozik/)
 * (@zanozik)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/case-bug/#post-6554845)
 * Yes, there is a bug in back-end.php:172
    `$code = sanitize_key( $code );` **should
   be at least:** `$code = strtoupper( sanitize_key( $code ) );`

Viewing 1 replies (of 1 total)

The topic ‘Case bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/baw-invitation-codes_fdfdfd.svg)
 * [Easy Invitation Codes](https://wordpress.org/plugins/baw-invitation-codes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/baw-invitation-codes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/baw-invitation-codes/)
 * [Active Topics](https://wordpress.org/support/plugin/baw-invitation-codes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/baw-invitation-codes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/baw-invitation-codes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [zanozik](https://wordpress.org/support/users/zanozik/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/case-bug/#post-6554845)
 * Status: not resolved