Skip to content

Commit f4e78a8

Browse files
committed
Fixed cache notice & Released 1.7.2 version.
1 parent 072ed10 commit f4e78a8

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

assets/css/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: elementor,persian,parsi,farsi,webkima,iran,iranian,rtl,fa_IR,المنتو
55
Requires at least: 5.7
66
Tested up to: 6.1.1
77
Requires PHP: 7.4
8-
Stable tag: 1.7.1
8+
Stable tag: 1.7.2
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1111

@@ -70,6 +70,10 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
7070

7171
== Changelog ==
7272

73+
= 1.7.2 =
74+
75+
برطرف کردن برخی از باگ‌ها
76+
7377
= 1.7.1 =
7478

7579
برطرف کردن برخی از باگ‌ها

src/Base.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ public static function isOptionActivated(string $key): bool {
4747
* @since 1.0.0
4848
*/
4949
public static function activate(): void {
50-
DynamicAssets::generateStylesAdnJavaScripts();
50+
if (Base::isOptionActivated('we_dynamic_style')) {
51+
DynamicAssets::generateStylesAdnJavaScripts();
52+
}
5153
}
5254

5355
/**
@@ -257,9 +259,7 @@ public static function webkimaElementsPanelCallback(): void {
257259
<div class="cache-notice-buttons">
258260
<a class="cache-notice-button we-close">بستن</a>
259261
<a class="cache-notice-button we-dont-show"
260-
href="http://localhost/el-test/wp-admin/admin.php?page=webkima-elements&cache-notice=true">دیگر این
261-
پیام را
262-
نمایش نده</a>
262+
href="?page=webkima-elements&cache-notice=true">دیگر این پیام را نمایش نده</a>
263263
</div>
264264
</div>
265265
</div>

webkima-elements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plugin Name: Webkima Elements
99
* Plugin URI: https://wordpress.org/plugins/webkima-elements/
1010
* Description: A very light plugin for Persianization and installation of Persian fonts on the free and Pro Elementor plugin
11-
* Version: 1.7.1
11+
* Version: 1.7.2
1212
* Requires at least: 5.7
1313
* Requires PHP: 7.4
1414
* Author: Webkima Academy

0 commit comments

Comments
 (0)