Skip to content

Commit

Permalink
Merge pull request #137 from UCF/hf-v6.2.6
Browse files Browse the repository at this point in the history
Removed is_login method, it was added the WordPress 6.1.0
  • Loading branch information
rjucf authored Nov 17, 2022
2 parents 5d27ee7 + bf6cc96 commit 1102438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions functions/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,20 +460,6 @@ function post_type( $post ) {
}


/**
* Returns true if the current request is on the login screen.
*
* @return boolean
* @author Jared Lang
**/
function is_login() {
return in_array( $GLOBALS['pagenow'], array(
'wp-login.php',
'wp-register.php',
) );
}


/**
* Destroy empty <p> tags because wpautop is dumb.
**/
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Theme Name: Pegasus Theme
Author: UCF Web Communications
Github Theme URI: https://github.com/UCF/Pegasus-Theme
Version: v6.2.5
Version: v6.2.6
*/

/*
Expand Down

0 comments on commit 1102438

Please sign in to comment.