Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…k-subsite into dev
  • Loading branch information
andrewlimaza committed Mar 5, 2024
2 parents 1deaad9 + 942ccb6 commit 5093bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pmpro-network-subsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit 5093bc1

Please sign in to comment.