diff --git wp-includes/load.php wp-includes/load.php
index 1bb354e..aaf4476 100644
|
|
function is_user_admin() { |
637 | 637 | } |
638 | 638 | |
639 | 639 | /** |
| 640 | * Whether the current request is for the login or register page |
| 641 | * |
| 642 | * @since 3.5.0 |
| 643 | * |
| 644 | * @return bool True if on WordPress login or register page. |
| 645 | */ |
| 646 | function is_login() { |
| 647 | return in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-register.php' ) ); |
| 648 | } |
| 649 | |
| 650 | /** |
640 | 651 | * Whether Multisite support is enabled |
641 | 652 | * |
642 | 653 | * @since 3.0.0 |