equal
deleted
inserted
replaced
63 /** |
63 /** |
64 * Enters recovery mode when the user hits wp-login.php with a valid recovery mode link. |
64 * Enters recovery mode when the user hits wp-login.php with a valid recovery mode link. |
65 * |
65 * |
66 * @since 5.2.0 |
66 * @since 5.2.0 |
67 * |
67 * |
68 * @global string $pagenow |
68 * @global string $pagenow The filename of the current screen. |
69 * |
69 * |
70 * @param int $ttl Number of seconds the link should be valid for. |
70 * @param int $ttl Number of seconds the link should be valid for. |
71 */ |
71 */ |
72 public function handle_begin_link( $ttl ) { |
72 public function handle_begin_link( $ttl ) { |
73 if ( ! isset( $GLOBALS['pagenow'] ) || 'wp-login.php' !== $GLOBALS['pagenow'] ) { |
73 if ( ! isset( $GLOBALS['pagenow'] ) || 'wp-login.php' !== $GLOBALS['pagenow'] ) { |