wedi / limit-login-countries

This WordPress plugin gives you the ability to limit WordPress admin logins based on the country the visitor's IP address is located in.
http://wordpress.org/plugins/limit-login-countries/
GNU General Public License v2.0
1 stars 1 forks source link

TextExt-ify country list input an creation to save an additinal jQuery select #1

Closed wedi closed 10 years ago

wedi commented 10 years ago

In js/limit-login-countries.js the textarea element for TextExt is 1st added to the DOM and then selected with jQuery to apply textext to it. This could be done on element creation already. To achieve that .bind() has to be replaced with .on() because .bind() doesn't work on new elements.

wedi commented 10 years ago

Closed in favour of #3.