From 1621be38e1c7546f4ab96a62eaad45ae5b0c1b88 Mon Sep 17 00:00:00 2001 From: Dennis Ploetner Date: Thu, 13 Jun 2024 19:17:45 +0200 Subject: [PATCH] Static and not self --- includes/MslsOptionsTaxTerm.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/MslsOptionsTaxTerm.php b/includes/MslsOptionsTaxTerm.php index d065c42c..84426478 100644 --- a/includes/MslsOptionsTaxTerm.php +++ b/includes/MslsOptionsTaxTerm.php @@ -59,12 +59,12 @@ protected static function get_base_defined( string $tax_query ): string { } } - return self::BASE_DEFINED; + return static::BASE_DEFINED; } protected static function get_base_option(): string { - $base_option = get_option( self::BASE_OPTION, '' ); + $base_option = get_option( static::BASE_OPTION, '' ); - return $base_option ?: self::BASE_DEFINED; + return $base_option ?: static::BASE_DEFINED; } }