Closed goatherd closed 10 years ago
Fixed some more backend quirks.
You utilise many boolean tests where all you need is array-key existence. This will work on classic PHP with no debug notices but will cause headaches for developers relying on WP_DEBUG
and should be avoided.
It may cause maintenance headaches too for people doing proper error logging (which is not too common with WordPress).
It should be advised to activate WP_DEBUG locally and run a few tests (once every couple of releases):
Quick-testing using this patch and recent develop branch I could verify no more notices for non-config pages and nothing major (warning/ error) for backend.
remaining patch from: http://wordpress.org/support/topic/deprecation-notice-and-patch-wordpress-38