How to use Recaptcha v2 on localhost
Using these keys below, you can do your tests on localhost : Google add a message on recaptcha to prevent users and the administrator that keys are just for tests.
Assist/Fix CSS hover on iPhone/iPad/iPod
Check this JS Fiddle: http://jsfiddle.net/pizzaboy13/u7FL5/
WP_HTTP_BLOCK_EXTERNAL & WP_ACCESSIBLE_HOSTS
Setting the WP_HTTP_BLOCK_EXTERNAL constant to true in your wp-config.php file will stop all outgoing network requests from your site. This is typically set on sites that are sitting behind a closed environment. However, having this set is problematic when performing migrations using WP Migrate DB Pro or allow updates for WordPress: Using WP_ACCESSIBLE_HOSTS you can set Full Article…
How to Target Internet Explorer 10 and 11 in CSS
Logic taken from here: https://philipnewcomer.net/2014/04/target-internet-explorer-10-11-css/ -ms-high-contrast supports two values: none and active. So to target IE10+ regardless of the property’s setting, use this media query:
Remove line breaks in a Google Spreadsheet cell
The first formula replaces line breaks with a space and the second formula replaces paragraph breaks with a space.
WP_Widget deprecated error in WordPress
Simply search and replace the following in all files: Search: Replace with:
Fix – Methods with the same name as their class
PHP4-style constructors still work on PHP7, they are just been deprecated and they will trigger a Deprecated warning. What you can do is define a __construct method, even an empty one, so that the php4-constructor method won’t be called on a newly-created instance of the class. Change to: