Skip to content

Commit

Permalink
Prevent deprecation notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfmohit committed Dec 30, 2024
1 parent 0db6c72 commit 30c2209
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions includes/Modules/Ads/Web_Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Google\Site_Kit\Core\Modules\Tags\Module_Web_Tag;
use Google\Site_Kit\Core\Tags\GTag;
use Google\Site_Kit\Core\Tags\Tag_With_Linker_Interface;
use Google\Site_Kit\Core\Tags\Tag_With_Linker_Trait;
use Google\Site_Kit\Core\Util\Method_Proxy_Trait;

/**
Expand All @@ -25,17 +26,7 @@
class Web_Tag extends Module_Web_Tag implements Tag_With_Linker_Interface {

use Method_Proxy_Trait;

/**
* Sets the current home domain.
*
* @since 1.125.0
*
* @param string $domain Domain name.
*/
public function set_home_domain( $domain ) {
$this->home_domain = $domain;
}
use Tag_With_Linker_Trait;

/**
* Registers tag hooks.
Expand Down

0 comments on commit 30c2209

Please sign in to comment.