Skip to content

Commit 17767a6

Browse files
authored
Merge branch 'develop' into ari/auto-register-if-branded
2 parents 3a7938d + 3bbae2d commit 17767a6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

classes/ui/class-branding.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public function get_branding_id(): int {
3838
if ( \defined( 'PROGRESS_PLANNER_BRANDING_ID' ) ) {
3939
return \constant( 'PROGRESS_PLANNER_BRANDING_ID' );
4040
}
41+
if ( isset( $_GET['pp_branding_id'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
42+
return (int) $_GET['pp_branding_id']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
43+
}
4144

4245
$hostname = (string) \gethostname();
4346
if ( \str_contains( $hostname, 'siteground' ) ) {

0 commit comments

Comments
 (0)