Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
figureone committed Jun 22, 2016
1 parent 4156582 commit d0bcf3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authorizer.php
Expand Up @@ -1340,7 +1340,7 @@ public function restrict_access( $wp ) {
}
}

// Check to see if this page can't be found and nonexistent (404) pages are public.
// Check to see if this page can't be found. If so, allow showing the 404 page.
if ( strlen( $current_page_name ) > 0 && strlen( $current_page_id ) < 1 ) {
if ( in_array( 'auth_public_404', $auth_settings['access_public_pages'] ) ) {
if ( $auth_settings['access_public_warning'] === 'no_warning' ) {
Expand Down

0 comments on commit d0bcf3c

Please sign in to comment.