Automattic / super-cool-ad-inserter-plugin

Insert ads, newsletter signup widgets, and calls to action in the middle of your posts!
https://wordpress.org/plugins/super-cool-ad-inserter/#description
32 stars 4 forks source link

Version 0.2 #41

Closed benlk closed 5 years ago

benlk commented 5 years ago

Changes

benlk commented 5 years ago

Blocked by https://github.com/INN/super-cool-ad-inserter-plugin/blob/43d9114d6b39a83da590bc5e0ba53b6b8e39d054/blocks/scaip-sidebar/block.js#L139-L147

benlk commented 5 years ago

I think we're safe using something from 2000. I hope.

benlk commented 5 years ago

Downloading a https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ IE11 VM to check, because I don't like that "I hope".

benlk commented 5 years ago

Couldn't figure out how to get valet to talk directly to the virtualbox VM; used valet share and renamed the site URL to use an ngrok.io URL to access the site in the VM. IE11's 404 page is pretty indistinguishable from IE11's "Could not connect" page.

IE 11 is of course complaining about syntax errors that other browsers did not. Will continue tomorrow.

benlk commented 5 years ago

For Valet compatibility with the modern.ie VM, I had to add a line to the VM's hosts file to point IE to the correct IP address for the testing site, because Valet determines which site to display based on the requested domain name. (To make this easier, I propose a couple changes to Valet: https://github.com/laravel/valet/issues/661)

Thanks to jslint.com, a number of changes have been made to reduce syntax errors in the JS that IE11 was tripping over, but not modern Chrome, Firefox, or Safari.

WordPress 5.0 testing was done with:

wp core download 5.0-beta1 --force
wp core update

I'm now on 5.0-beta2-43845.

benlk commented 5 years ago

For Valet compatibility with the modern.ie VM, I had to add a line to the VM's hosts file to point IE to the correct IP address for the testing site, because Valet determines which site to display based on the requested domain name. (To make this easier, I propose a couple changes to Valet: https://github.com/laravel/valet/issues/661)

Thanks to jslint.com, a number of changes have been made to reduce syntax errors in the JS that IE11 was tripping over, but not modern Chrome, Firefox, or Safari.

benlk commented 5 years ago

Testing without Gutenberg revealed https://github.com/INN/super-cool-ad-inserter-plugin/issues/42, which ... is not a problem we can fix.

benlk commented 5 years ago

And now it works without Gutenberg.

benlk commented 5 years ago

Testing before release:

Plugin settings:

Post meta boxes

Shortcode tests

Gutenberg tests