Version Description
- Bug fixes:
- Fatal error when running PHP 7.1.x
Download this release
Release Info
Developer | Ajay |
Plugin | Top 10 – Popular posts plugin for WordPress |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- includes/public/display-posts.php +1 -1
- languages/top-10-fa_IR.mo +0 -0
- languages/top-10-fa_IR.po +310 -0
- readme.txt +5 -0
- top-10.php +1 -1
includes/public/display-posts.php
CHANGED
@@ -288,7 +288,7 @@ function get_tptn_pop_posts( $args = array() ) {
|
|
288 |
global $wpdb, $tptn_settings;
|
289 |
|
290 |
// Initialise some variables
|
291 |
-
$fields =
|
292 |
$where = '';
|
293 |
$join = '';
|
294 |
$groupby = '';
|
288 |
global $wpdb, $tptn_settings;
|
289 |
|
290 |
// Initialise some variables
|
291 |
+
$fields = array();
|
292 |
$where = '';
|
293 |
$join = '';
|
294 |
$groupby = '';
|
languages/top-10-fa_IR.mo
ADDED
Binary file
|
languages/top-10-fa_IR.po
ADDED
@@ -0,0 +1,310 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Top 10\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2017-01-03 10:39+0330\n"
|
6 |
+
"PO-Revision-Date: \n"
|
7 |
+
"Language-Team: Ajay DSouza <me@ajaydsouza.com>\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Poedit-KeywordsList: __;_e;_c;__ngettext\n"
|
12 |
+
"X-Poedit-Basepath: ..\n"
|
13 |
+
"X-Generator: Poedit 1.8.11\n"
|
14 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
+
"Last-Translator: \n"
|
16 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
17 |
+
"Language: fa_IR\n"
|
18 |
+
"X-Poedit-SearchPath-0: .\n"
|
19 |
+
"X-Poedit-SearchPathExcluded-0: ../admin/wick\n"
|
20 |
+
|
21 |
+
#: admin/admin-columns.php:30
|
22 |
+
msgid "Total Views"
|
23 |
+
msgstr "مجموع بازدید"
|
24 |
+
|
25 |
+
#: admin/admin-columns.php:33
|
26 |
+
msgid "Today's Views"
|
27 |
+
msgstr "بازدید امروز"
|
28 |
+
|
29 |
+
#: admin/admin-columns.php:36
|
30 |
+
msgid "Views"
|
31 |
+
msgstr "بازدیدها"
|
32 |
+
|
33 |
+
#: admin/admin-dashboard.php:64
|
34 |
+
msgid "View all daily popular posts"
|
35 |
+
msgstr "نمایش همه پستهای محبوب امروز"
|
36 |
+
|
37 |
+
#: admin/admin-dashboard.php:66
|
38 |
+
msgid "View all popular posts"
|
39 |
+
msgstr "نمایش همه پستهای محبوب"
|
40 |
+
|
41 |
+
#: admin/admin-dashboard.php:72
|
42 |
+
#, php-format
|
43 |
+
msgid "Popular posts by <a href=\"%s\" target=\"_blank\">Top 10 plugin</a>"
|
44 |
+
msgstr "مطالب محبوب توسط <a href=\"%s\" target=\"_blank\"> افزونه Top 10 </a>"
|
45 |
+
|
46 |
+
#: admin/admin-dashboard.php:122 admin/class-stats.php:539
|
47 |
+
msgid "Popular Posts"
|
48 |
+
msgstr "مطالب محبوب"
|
49 |
+
|
50 |
+
#: admin/admin-dashboard.php:127 admin/admin.php:461
|
51 |
+
msgid "Daily Popular Posts"
|
52 |
+
msgstr "مطالب محبوب امروز"
|
53 |
+
|
54 |
+
#: admin/admin-metabox.php:137
|
55 |
+
#, php-format
|
56 |
+
msgid ""
|
57 |
+
"You have %1$s installed. If you are trying to modify the thumbnail, then you "
|
58 |
+
"will need to make the same change in the %1$s meta box on this page."
|
59 |
+
msgstr ""
|
60 |
+
"شما %1$s نصب کردهاید. اگر سعی دارید تصاویر بندانگشتی را ویرایش کنید, "
|
61 |
+
"بنابراین لازم است همان تغییر را در %1$s متاباکس را در آن صفحه انجام دهید."
|
62 |
+
|
63 |
+
#: admin/admin.php:199
|
64 |
+
msgid "Options saved successfully. If enabled, the cache has been cleared."
|
65 |
+
msgstr "تنظیمات با موفقیت ذخیره شد. اگر فعال شود، کَش پاک خواهد شد."
|
66 |
+
|
67 |
+
#: admin/admin.php:202
|
68 |
+
msgid ""
|
69 |
+
"Left Thumbnails style selected. Post thumbnail location set to Inline before "
|
70 |
+
"text."
|
71 |
+
msgstr ""
|
72 |
+
"استایل تصاویر بندانگشتی سمت چپ انتخاب شد. مکان تصویر بندانگشتی مطلب به صورت "
|
73 |
+
"خطی پیش از متن تنظیم شد."
|
74 |
+
|
75 |
+
#: admin/admin.php:205
|
76 |
+
msgid "Text Only style selected. Thumbnails will not be displayed."
|
77 |
+
msgstr "استایل فقط متن انتخاب شد. تصاویر بندانگشتی نمایش داده نخواهد شد."
|
78 |
+
|
79 |
+
#: admin/admin.php:208
|
80 |
+
#, php-format
|
81 |
+
msgid "Pre-built thumbnail size selected. Thumbnail set to %1$d x %1$d."
|
82 |
+
msgstr ""
|
83 |
+
"سایز تصویر بندانگشتی ازپیشساختهشده انتخاب شد. اندازه تصویر بندانگشتی %1$d x "
|
84 |
+
"%1$d است."
|
85 |
+
|
86 |
+
#: admin/admin.php:223
|
87 |
+
msgid "Options set to Default."
|
88 |
+
msgstr "تنظیمات پیشفرض فعال شد."
|
89 |
+
|
90 |
+
#: admin/admin.php:230
|
91 |
+
msgid "Top 10 popular posts reset"
|
92 |
+
msgstr "ریست کردن مطالب محبوب Top 10"
|
93 |
+
|
94 |
+
#: admin/admin.php:237
|
95 |
+
msgid "Top 10 daily popular posts reset"
|
96 |
+
msgstr "ریست کردن مطالب محبوب روزانه Top 10"
|
97 |
+
|
98 |
+
#: admin/admin.php:245
|
99 |
+
msgid "Duplicate rows cleaned from tables"
|
100 |
+
msgstr "ردیفهای تکراری از جدولها حذف شد."
|
101 |
+
|
102 |
+
#: admin/admin.php:253
|
103 |
+
msgid "Post counts across blog IDs 0 and 1 have been merged"
|
104 |
+
msgstr "شمارش مطلب در تمام آیدیهای ۰ و ۱ ادغام شدهاند."
|
105 |
+
|
106 |
+
#: admin/admin.php:266
|
107 |
+
msgid "Scheduled maintenance enabled / modified"
|
108 |
+
msgstr "نگهداری برنامه فعال شد/ اصلاح شد."
|
109 |
+
|
110 |
+
#: admin/admin.php:270
|
111 |
+
msgid "Scheduled maintenance disabled"
|
112 |
+
msgstr "نگهداری برنامه غیرفعال شد."
|
113 |
+
|
114 |
+
#: admin/admin.php:308
|
115 |
+
msgid "Counts from selected sites have been imported."
|
116 |
+
msgstr "شمارش از سایتهای منتخب وارد شد."
|
117 |
+
|
118 |
+
#: admin/admin.php:333
|
119 |
+
msgid ""
|
120 |
+
"Selected tables have been deleted. Note that only imported tables have been "
|
121 |
+
"deleted."
|
122 |
+
msgstr ""
|
123 |
+
"جدولهای منتخب حذف شدهاند. توجه داشته باشید که فقط جدولهای واردشده حذف شدهاند."
|
124 |
+
|
125 |
+
#: admin/admin.php:449 admin/admin.php:452
|
126 |
+
msgid "Top 10 Settings"
|
127 |
+
msgstr "تنظیمات Top 10"
|
128 |
+
|
129 |
+
#: admin/admin.php:449
|
130 |
+
msgid "Top 10"
|
131 |
+
msgstr "تاپ۱۰"
|
132 |
+
|
133 |
+
#: admin/admin.php:457
|
134 |
+
msgid "View Popular Posts"
|
135 |
+
msgstr "نمایش مطالب محبوب"
|
136 |
+
|
137 |
+
#: admin/admin.php:564
|
138 |
+
msgid "Settings"
|
139 |
+
msgstr "تنظیمات"
|
140 |
+
|
141 |
+
#: admin/admin.php:586
|
142 |
+
msgid "Support"
|
143 |
+
msgstr "پشتیبانی"
|
144 |
+
|
145 |
+
#: admin/admin.php:587
|
146 |
+
msgid "Donate"
|
147 |
+
msgstr "مشارکت مالی"
|
148 |
+
|
149 |
+
#: admin/admin.php:588
|
150 |
+
msgid "Contribute"
|
151 |
+
msgstr "همکاری"
|
152 |
+
|
153 |
+
#: admin/cache.php:19
|
154 |
+
msgid "Top 10 cache has been cleared"
|
155 |
+
msgstr "کش Top 10 پاک شده است."
|
156 |
+
|
157 |
+
#: admin/class-stats.php:35
|
158 |
+
msgid "popular_post"
|
159 |
+
msgstr "پست_محبوب"
|
160 |
+
|
161 |
+
#: admin/class-stats.php:36
|
162 |
+
msgid "popular_posts"
|
163 |
+
msgstr "پست_های_محبوب"
|
164 |
+
|
165 |
+
#: admin/class-stats.php:243
|
166 |
+
msgid "View"
|
167 |
+
msgstr "نمایش"
|
168 |
+
|
169 |
+
#: admin/class-stats.php:244
|
170 |
+
msgid "Edit"
|
171 |
+
msgstr "ویرایش"
|
172 |
+
|
173 |
+
#: admin/class-stats.php:245
|
174 |
+
msgid "Delete"
|
175 |
+
msgstr "حذف"
|
176 |
+
|
177 |
+
#: admin/class-stats.php:267
|
178 |
+
msgid "Y/m/d g:i:s a"
|
179 |
+
msgstr "Y/m/d g:i:s a"
|
180 |
+
|
181 |
+
#: admin/class-stats.php:274
|
182 |
+
#, php-format
|
183 |
+
msgid "%s ago"
|
184 |
+
msgstr "%s پیش"
|
185 |
+
|
186 |
+
#: admin/class-stats.php:276
|
187 |
+
msgid "Y/m/d"
|
188 |
+
msgstr "Y/m/d"
|
189 |
+
|
190 |
+
#: admin/class-stats.php:309
|
191 |
+
msgid "Title"
|
192 |
+
msgstr "عنوان"
|
193 |
+
|
194 |
+
#: admin/class-stats.php:310
|
195 |
+
msgid "Total visits"
|
196 |
+
msgstr "مجموع نمایشها"
|
197 |
+
|
198 |
+
#: admin/class-stats.php:311
|
199 |
+
msgid "Daily visits"
|
200 |
+
msgstr "نمایشهای روزانه"
|
201 |
+
|
202 |
+
#: admin/class-stats.php:312
|
203 |
+
msgid "Post type"
|
204 |
+
msgstr "نوع مطلب"
|
205 |
+
|
206 |
+
#: admin/class-stats.php:313
|
207 |
+
msgid "Author"
|
208 |
+
msgstr "نویسنده"
|
209 |
+
|
210 |
+
#: admin/class-stats.php:314
|
211 |
+
msgid "Date"
|
212 |
+
msgstr "تاریخ"
|
213 |
+
|
214 |
+
#: admin/class-stats.php:348
|
215 |
+
msgid "Delete Count"
|
216 |
+
msgstr "حذف شمارش"
|
217 |
+
|
218 |
+
#: admin/class-stats.php:441
|
219 |
+
msgid "Filter"
|
220 |
+
msgstr "فیلتر"
|
221 |
+
|
222 |
+
#: admin/class-stats.php:514
|
223 |
+
msgid "Search Table"
|
224 |
+
msgstr "فیلتر"
|
225 |
+
|
226 |
+
#: includes/cron.php:74
|
227 |
+
msgid "Once Weekly"
|
228 |
+
msgstr "یکبار در هفته"
|
229 |
+
|
230 |
+
#: includes/cron.php:78
|
231 |
+
msgid "Once Fortnightly"
|
232 |
+
msgstr "یکبار در دوهفته"
|
233 |
+
|
234 |
+
#: includes/cron.php:82
|
235 |
+
msgid "Once Monthly"
|
236 |
+
msgstr "یکبار ماهانه"
|
237 |
+
|
238 |
+
#: includes/cron.php:86
|
239 |
+
msgid "Once quarterly"
|
240 |
+
msgstr "سهماه یک بار"
|
241 |
+
|
242 |
+
#: includes/modules/class-top-10-widget.php:30
|
243 |
+
msgid "Popular Posts [Top 10]"
|
244 |
+
msgstr "مطالب محبوب [Top 10]"
|
245 |
+
|
246 |
+
#: includes/modules/class-top-10-widget.php:32
|
247 |
+
msgid "Display popular posts"
|
248 |
+
msgstr "نمایش مطالب محبوب"
|
249 |
+
|
250 |
+
#: includes/public/display-posts.php:92
|
251 |
+
msgid ""
|
252 |
+
"posts_only argument has been deprecated. Use get_tptn_pop_posts() to get the "
|
253 |
+
"posts only."
|
254 |
+
msgstr ""
|
255 |
+
"شناسه posts_only از رده خارج شده است . فقط از get_tptn_pop_posts() برای "
|
256 |
+
"دریافت پستها استفاده کنید."
|
257 |
+
|
258 |
+
#: includes/public/display-posts.php:229
|
259 |
+
#, php-format
|
260 |
+
msgid ""
|
261 |
+
"Popular posts by <a href=\"%1$s\" rel=\"nofollow\" %2$s>Top 10 plugin</a>"
|
262 |
+
msgstr ""
|
263 |
+
"مطالب محبوب توسط <a href=\"%1$s\" rel=\"nofollow\" %2$s>افزونه تاپ۱۰</a>"
|
264 |
+
|
265 |
+
#: includes/public/media.php:60
|
266 |
+
msgid "thumb_timthumb argument has been deprecated"
|
267 |
+
msgstr "شناسه thumb_timthumb از رده خارج شده است"
|
268 |
+
|
269 |
+
#: includes/public/media.php:64
|
270 |
+
msgid "thumb_timthumb_q argument has been deprecated"
|
271 |
+
msgstr "شناسه thumb_timthumb_q از رده خارج شده است"
|
272 |
+
|
273 |
+
#: includes/public/media.php:68
|
274 |
+
msgid "filter argument has been deprecated"
|
275 |
+
msgstr "شناسه filter از رده خارج شده است"
|
276 |
+
|
277 |
+
#: includes/public/output-generator.php:238
|
278 |
+
msgid " by "
|
279 |
+
msgstr "بهوسیله"
|
280 |
+
|
281 |
+
#: includes/tracker.php:248
|
282 |
+
msgid "Query variable based"
|
283 |
+
msgstr "براساس مقدار کوئری"
|
284 |
+
|
285 |
+
#: includes/tracker.php:249
|
286 |
+
msgid "Uses query variables to record visits"
|
287 |
+
msgstr "برای ذخیره نمایشها از مقدار کوئری استفاده میکند"
|
288 |
+
|
289 |
+
#: includes/tracker.php:253
|
290 |
+
msgid "Ajaxurl based"
|
291 |
+
msgstr "براساس نشانی ایجکس"
|
292 |
+
|
293 |
+
#: includes/tracker.php:254
|
294 |
+
msgid ""
|
295 |
+
"Uses admin-ajax.php which is inbuilt within WordPress to process the tracker"
|
296 |
+
msgstr ""
|
297 |
+
"از admin-ajax.php که توسط وردپرس نوشته شده است برای کنترل پیگیریکننده "
|
298 |
+
"استفاده میکند"
|
299 |
+
|
300 |
+
#: top-10.php:94
|
301 |
+
msgid "<h3>Popular Posts</h3>"
|
302 |
+
msgstr "<h3>مطالب محبوب</h3>"
|
303 |
+
|
304 |
+
#: top-10.php:95
|
305 |
+
msgid "<h3>Daily Popular</h3>"
|
306 |
+
msgstr "<h3>محبوبهای روزانه</h3>"
|
307 |
+
|
308 |
+
#: top-10.php:96
|
309 |
+
msgid "No top posts yet"
|
310 |
+
msgstr "هنوز مطلب محبوبی وجود ندارد"
|
readme.txt
CHANGED
@@ -165,6 +165,11 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta
|
|
165 |
|
166 |
== Changelog ==
|
167 |
|
|
|
|
|
|
|
|
|
|
|
168 |
= 2.4.2 =
|
169 |
|
170 |
* Bug fixes:
|
165 |
|
166 |
== Changelog ==
|
167 |
|
168 |
+
= 2.4.3 =
|
169 |
+
|
170 |
+
* Bug fixes:
|
171 |
+
* Fatal error when running PHP 7.1.x
|
172 |
+
|
173 |
= 2.4.2 =
|
174 |
|
175 |
* Bug fixes:
|
top-10.php
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
* Plugin Name: Top 10
|
15 |
* Plugin URI: https://webberzone.com/plugins/top-10/
|
16 |
* Description: Count daily and total visits per post and display the most popular posts based on the number of views
|
17 |
-
* Version: 2.4.
|
18 |
* Author: Ajay D'Souza
|
19 |
* Author URI: https://webberzone.com
|
20 |
* License: GPL-2.0+
|
14 |
* Plugin Name: Top 10
|
15 |
* Plugin URI: https://webberzone.com/plugins/top-10/
|
16 |
* Description: Count daily and total visits per post and display the most popular posts based on the number of views
|
17 |
+
* Version: 2.4.3
|
18 |
* Author: Ajay D'Souza
|
19 |
* Author URI: https://webberzone.com
|
20 |
* License: GPL-2.0+
|