diff --git wp-includes/load.php wp-includes/load.php
index 1bb354e..aaf4476 100644
--- wp-includes/load.php
+++ wp-includes/load.php
@@ -637,6 +637,17 @@ function is_user_admin() {
 }
 
 /**
+ * Whether the current request is for the login or register page
+ *
+ * @since 3.5.0
+ *
+ * @return bool True if on WordPress login or register page.
+ */
+function is_login() {
+	return in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php' ) );
+}
+
+/**
  * Whether Multisite support is enabled
  *
  * @since 3.0.0
