x-team/wp-stream — pull request #100 by JustinSainton (2013-12-18 04:56:55+00:00)
Title: Remove redundant DOING_AJAX check

DOING_AJAX is always going to be the same as is_admin(), as admin-ajax.php, which defines DOING_AJAX, is loaded in an admin context.

Given that it's loading admin-facing functionality, it seems more idiomatically proper to only check is_admin().