Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@ -53,7 +53,7 @@ trait WP_Ultimo_Site_Deprecated {
*/
public function get_subscription() {
_deprecated_function(__CLASS__, '2.0.0', '\WP_Ultimo\Models\Site::get_membership()');
_deprecated_function(self::class, '2.0.0', '\WP_Ultimo\Models\Site::get_membership()');
return $this->get_membership();
}