Tested for WP 3.8 compatibility.