diff --git wp-includes/general-template.php wp-includes/general-template.php
index 939e9de..1a97424 100644
--- wp-includes/general-template.php
+++ wp-includes/general-template.php
@@ -247,6 +247,31 @@ function wp_login_url($redirect = '', $force_reauth = false) {
 }
 
 /**
+ * Whether the current request is for a login page
+ *
+ * @since 3.5.0
+ *
+ * @return bool
+ */
+function is_login_page() {
+	return (bool) did_action( 'login_form_login' );
+}
+
+/**
+ * Whether the current request is for the registration page
+ *
+ * @since 3.5.0
+ *
+ * @return bool
+ */
+function is_register_page() {
+	if ( is_multisite() && 'wp-signup.php' == $GLOBALS['pagenow'] )
+		return true;
+
+	return (bool) did_action( 'login_form_register' );
+}
+
+/**
  * Provides a simple login form for use anywhere within WordPress. By default, it echoes
  * the HTML immediately. Pass array('echo'=>false) to return the string instead.
  *
