Skip to content

Commit

Permalink
Merge pull request #70 from cfaria/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryJones authored Jan 27, 2025
2 parents 0ec7409 + 1e9ef5d commit b7918a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maintenance-mode.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function vip_maintenance_mode_template_redirect(): void {
*/
$defaults = apply_filters( 'vip_maintenance_mode_template_args', $defaults );

if ( ! get_template_part( $defaults['slug'], $defaults['name'], $defaults['args'] ) ) {
if ( false === get_template_part( $defaults['slug'], $defaults['name'], $defaults['args'] ) ) {
include __DIR__ . '/template-maintenance-mode.php';
}

Expand Down

0 comments on commit b7918a1

Please sign in to comment.