From 3a6ebf0061beda20d94fb2a7f8b57316d9b15a3b Mon Sep 17 00:00:00 2001 From: Andrew Lima Date: Thu, 25 Jan 2024 11:42:02 +0200 Subject: [PATCH] FIX typo on constant * BUG FIX: Fixed a typo on the PHP constant "PMPRO_MULTISITE_REWRITE_URLS" --- pmpro-network-subsite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmpro-network-subsite.php b/pmpro-network-subsite.php index 1d1f8da..9dca6af 100644 --- a/pmpro-network-subsite.php +++ b/pmpro-network-subsite.php @@ -167,7 +167,7 @@ function pmpro_multisite_get_parent_site_pages() { global $pmpro_pages; // Only if the constant is defined try to rewrite. - if ( ! defined( 'PMPRO_MULSITIE_REWRITE_URLS' ) || ! PMPRO_MULSITIE_REWRITE_URLS ) { + if ( ! defined( 'PMPRO_MULTISITE_REWRITE_URLS' ) || ! PMPRO_MULTISITE_REWRITE_URLS ) { return; } @@ -192,7 +192,7 @@ function pmpro_multisite_pmpro_url( $url, $page, $querystring, $scheme ) { global $pmpro_pages; // Only if the constant is defined try to rewrite URLS. - if ( ! defined( 'PMPRO_MULSITIE_REWRITE_URLS' ) || ! PMPRO_MULSITIE_REWRITE_URLS ) { + if ( ! defined( 'PMPRO_MULTISITE_REWRITE_URLS' ) || ! PMPRO_MULTISITE_REWRITE_URLS ) { return $url; }