Skip to content

Commit 77ec875

Browse files
committed
fix: исправлены ошибки в панели администрирования
1 parent 16ad962 commit 77ec875

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

mytracker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: MyTracker
44
* Description: MyTracker is multi-platform analytics and attribution for mobile apps and websites.
5-
* Version: 1.1.1
5+
* Version: 1.1.2
66
* Author: VK Team
77
* Author URI: https://vk.team
88
* Plugin URI: https://wordpress.org/plugins/mytracker/
@@ -29,7 +29,7 @@
2929
exit;
3030
}
3131

32-
define( 'VK_MYTRACKER_VERSION', '1.1.1' );
32+
define( 'VK_MYTRACKER_VERSION', '1.1.2' );
3333
define( 'VK_MYTRACKER_NAME', 'MyTracker' );
3434
define( 'VK_MYTRACKER_PREFIX', 'mytracker' );
3535
define( 'VK_MYTRACKER_SLUG', 'mytracker' );

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: vk,analytics,mailru,mytracker,mihdan
44
Requires at least: 5.0
55
Tested up to: 6.4
66
Requires PHP: 7.4
7-
Stable tag: 1.1.1
7+
Stable tag: 1.1.2
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -49,6 +49,9 @@ Track and measure all of your monetization efforts with MyTracker: in-app purcha
4949

5050
== Changelog ==
5151

52+
= 1.1.2 (26.02.2024) =
53+
* Fixed errors in the admin panel
54+
5255
= 1.1.1 (06.02.2024) =
5356
* Added support for WordPress 6.4+
5457
* Added support for PHP 8.2+

src/Main.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ public function add_generator_text(): void {
112112
/**
113113
* Добавляет текст в футер админки.
114114
*
115-
* @param string $text Текст по умолчанию.
115+
* @param string|null $text Текст по умолчанию.
116116
*
117117
* @return string
118118
*/
119-
public function add_footer_text( string $text ): string {
119+
public function add_footer_text( ?string $text ): string {
120120
if ( get_current_screen()->base !== 'settings_page_' . Utils::get_plugin_prefix() ) {
121121
return $text;
122122
} else {

0 commit comments

Comments
 (0)