Kailey Lampert
Kailey Lampert
Sweeping the low-hanging fruit from the PHPCS results (`composer cs`).
Since PHP 7.1, passing [too few arguments will cause a fatal error](http://php.net/manual/en/migration71.incompatible.php#migration71.incompatible.too-few-arguments-exception) I've flagged two occurrences of `disabled()` which should pass at least [one argument](https://github.com/WordPress/WordPress/blob/39ce01d83a0bfc06c278d7a0cc098be508fe7f6e/wp-includes/general-template.php#L4327) - https://github.com/Automattic/facebook-instant-articles-wp/blob/0bd3899ca4cc5e2bba212ecf30d4d8a733ba0541/wizard/class-instant-articles-option.php#L285 - https://github.com/Automattic/facebook-instant-articles-wp/blob/0bd3899ca4cc5e2bba212ecf30d4d8a733ba0541/wizard/class-instant-articles-option.php#L359
Currently `wp-content` is hard-coded, need to use proper constants
Due to `switch_to_blog()` this will require some faking.
Need lots of tests. - on subdomain and subdirectory setups - with/without custom tables - duping main sites and subsites - with different `PATH_CURRENT_SITE` values - with multiple domains -...
Here's my CSS, reduced/simplified from a real-world example: https://gist.github.com/trepmal/edf83dbd0d10b949b353c4b88fe20eea . The key elements being the selector with escaped characters, and a certain minimum amount of styles to follow. When run...
We should ensure that the rewrite rules cache is emptied when flushing the rules
This PR also removes the PHPUnit setup since I do not expect it will be added in the future. As the VIP infrastructure no longer relies on Batcache, this is...
I discovered this while working on #13. I believe I confirmed it's not a regression, but would welcome confirmation. ## Issue When re-flagging a comment, I do not get the...