wp-plugins/woocommerce-poor-guys-swiss-knife — pull request #1 by chrisnharvey (2014-09-15 16:12:59+00:00)
Title: Force type check when assigning a custom attribute

PHP annoyingly considers an empty string equal to integer 0.

So WCPGSK often adds an empty pattern="" attribute to text fields which always fail.

This PR forces PHP to check the type of the value with the === operator.