easydigitaldownloads/Easy-Digital-Downloads — pull request #2418 by ghost1227 (2014-06-30 06:25:23+00:00)
Title: Restrict loading EDD scripts

Fixes #2364

I THINK this covers all possible scenarios for pages requiring EDD scripts without loading it anywhere crazy. Removed `page-new.php` and `page.php` as those are covered by the existing `'download' == $typenow` check and moved `'index.php' == $pagenow` to a separate check with the condition that the query string is empty so that it ONLY loads on the dashboard homepage. Seems loading it on all children of index.php was causing issues with other plugins...