Post Views Counter - Version 1.3.1

Version Description

  • Fix: Gutenberg CSS file missing
  • Tweak: POT translation file update
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Post Views Counter
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3 to 1.3.1

css/gutenberg.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .edit-post-post-views-popover .components-popover__content{padding:10px}.edit-post-post-views-popover .components-popover__content legend{font-weight:600;margin-bottom:1em;margin-top:.5em;padding:0}
languages/post-views-counter.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Post Views Counter\n"
5
- "POT-Creation-Date: 2018-06-11 18:34+0200\n"
6
  "PO-Revision-Date: 2015-04-08 18:59+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
@@ -10,7 +10,7 @@ msgstr ""
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 2.0.8\n"
14
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e;esc_attr__;esc_attr_e;"
15
  "esc_html__;esc_html_e\n"
16
  "X-Poedit-Basepath: .\n"
@@ -18,39 +18,44 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
- #: ../includes/columns.php:50 ../includes/columns.php:185
22
- #: ../includes/columns.php:191 ../includes/columns.php:243
 
23
  #: ../includes/dashboard.php:30 ../includes/dashboard.php:102
24
  #: ../includes/dashboard.php:112 ../includes/dashboard.php:121
25
  #: ../includes/dashboard.php:197
26
  msgid "Post Views"
27
  msgstr ""
28
 
29
- #: ../includes/columns.php:59
30
- msgid "Edit"
31
  msgstr ""
32
 
33
- #: ../includes/columns.php:63
34
- msgid "Adjust the views count for this post."
35
  msgstr ""
36
 
37
- #: ../includes/columns.php:67
38
- msgid "OK"
39
  msgstr ""
40
 
41
- #: ../includes/columns.php:68
42
  msgid "Cancel"
43
  msgstr ""
44
 
45
- #: ../includes/counter.php:207 ../includes/counter.php:727
46
- msgid "REST API method is disabled."
47
  msgstr ""
48
 
49
- #: ../includes/counter.php:215
50
- msgid "Invalid post ID."
 
 
 
 
51
  msgstr ""
52
 
53
- #: ../includes/counter.php:221
54
  msgid "Post type excluded."
55
  msgstr ""
56
 
@@ -74,7 +79,7 @@ msgstr ""
74
  msgid "Total Views"
75
  msgstr ""
76
 
77
- #: ../includes/functions.php:346
78
  msgid "No Posts"
79
  msgstr ""
80
 
@@ -300,7 +305,7 @@ msgstr ""
300
  msgid "Position"
301
  msgstr ""
302
 
303
- #: ../includes/settings.php:244
304
  msgid "Display Style"
305
  msgstr ""
306
 
@@ -477,74 +482,86 @@ msgstr ""
477
  msgid "Thank you! Datebase was succesfully updated."
478
  msgstr ""
479
 
480
- #: ../includes/widgets.php:41 ../includes/widgets.php:47
481
  msgid "Most Viewed Posts"
482
  msgstr ""
483
 
484
- #: ../includes/widgets.php:42
485
  msgid "Displays a list of the most viewed posts"
486
  msgstr ""
487
 
488
- #: ../includes/widgets.php:55
489
  msgid "No Posts found"
490
  msgstr ""
491
 
492
- #: ../includes/widgets.php:59
493
  msgid "Ascending"
494
  msgstr ""
495
 
496
- #: ../includes/widgets.php:60
497
  msgid "Descending"
498
  msgstr ""
499
 
500
- #: ../includes/widgets.php:106
 
 
 
 
 
 
 
 
501
  msgid "Title"
502
  msgstr ""
503
 
504
- #: ../includes/widgets.php:110
505
  msgid "Post Types"
506
  msgstr ""
507
 
508
- #: ../includes/widgets.php:122
509
  msgid "Number of posts to show"
510
  msgstr ""
511
 
512
- #: ../includes/widgets.php:126
513
  msgid "No posts message"
514
  msgstr ""
515
 
516
- #: ../includes/widgets.php:130
517
  msgid "Order"
518
  msgstr ""
519
 
520
- #: ../includes/widgets.php:142
521
  msgid "Display post views?"
522
  msgstr ""
523
 
524
- #: ../includes/widgets.php:144
525
  msgid "Display post excerpt?"
526
  msgstr ""
527
 
528
- #: ../includes/widgets.php:146
 
 
 
 
529
  msgid "Display post thumbnail?"
530
  msgstr ""
531
 
532
- #: ../includes/widgets.php:149
533
  msgid "Thumbnail size"
534
  msgstr ""
535
 
536
- #: ../post-views-counter.php:384
537
  msgid "Are you sure you want to reset these settings to defaults?"
538
  msgstr ""
539
 
540
- #: ../post-views-counter.php:385
541
  msgid "Are you sure you want to delete all existing data?"
542
  msgstr ""
543
 
544
- #: ../post-views-counter.php:435
545
  msgid "Support"
546
  msgstr ""
547
 
548
- #: ../post-views-counter.php:459
549
  msgid "Settings"
550
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Post Views Counter\n"
5
+ "POT-Creation-Date: 2019-07-10 10:32+0200\n"
6
  "PO-Revision-Date: 2015-04-08 18:59+0100\n"
7
  "Last-Translator: Bartosz Arendt <info@dfactory.eu>\n"
8
  "Language-Team: dFactory <info@dfactory.eu>\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.2.3\n"
14
  "X-Poedit-KeywordsList: gettext;gettext_noop;__;_e;esc_attr__;esc_attr_e;"
15
  "esc_html__;esc_html_e\n"
16
  "X-Poedit-Basepath: .\n"
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
+ #: ../includes/columns.php:46 ../includes/columns.php:131
22
+ #: ../includes/columns.php:176 ../includes/columns.php:311
23
+ #: ../includes/columns.php:317 ../includes/columns.php:367
24
  #: ../includes/dashboard.php:30 ../includes/dashboard.php:102
25
  #: ../includes/dashboard.php:112 ../includes/dashboard.php:121
26
  #: ../includes/dashboard.php:197
27
  msgid "Post Views"
28
  msgstr ""
29
 
30
+ #: ../includes/columns.php:86 ../includes/counter.php:218
31
+ msgid "Invalid post ID."
32
  msgstr ""
33
 
34
+ #: ../includes/columns.php:90 ../includes/columns.php:96
35
+ msgid "You are not allowed to edit this item."
36
  msgstr ""
37
 
38
+ #: ../includes/columns.php:132 ../includes/columns.php:189
39
+ msgid "Adjust the views count for this post."
40
  msgstr ""
41
 
42
+ #: ../includes/columns.php:133 ../includes/columns.php:194
43
  msgid "Cancel"
44
  msgstr ""
45
 
46
+ #: ../includes/columns.php:185
47
+ msgid "Edit"
48
  msgstr ""
49
 
50
+ #: ../includes/columns.php:193
51
+ msgid "OK"
52
+ msgstr ""
53
+
54
+ #: ../includes/counter.php:210
55
+ msgid "REST API method is disabled."
56
  msgstr ""
57
 
58
+ #: ../includes/counter.php:224
59
  msgid "Post type excluded."
60
  msgstr ""
61
 
79
  msgid "Total Views"
80
  msgstr ""
81
 
82
+ #: ../includes/functions.php:348
83
  msgid "No Posts"
84
  msgstr ""
85
 
305
  msgid "Position"
306
  msgstr ""
307
 
308
+ #: ../includes/settings.php:244 ../includes/widgets.php:150
309
  msgid "Display Style"
310
  msgstr ""
311
 
482
  msgid "Thank you! Datebase was succesfully updated."
483
  msgstr ""
484
 
485
+ #: ../includes/widgets.php:42 ../includes/widgets.php:48
486
  msgid "Most Viewed Posts"
487
  msgstr ""
488
 
489
+ #: ../includes/widgets.php:43
490
  msgid "Displays a list of the most viewed posts"
491
  msgstr ""
492
 
493
+ #: ../includes/widgets.php:58
494
  msgid "No Posts found"
495
  msgstr ""
496
 
497
+ #: ../includes/widgets.php:62
498
  msgid "Ascending"
499
  msgstr ""
500
 
501
+ #: ../includes/widgets.php:63
502
  msgid "Descending"
503
  msgstr ""
504
 
505
+ #: ../includes/widgets.php:67
506
+ msgid "Unordered list"
507
+ msgstr ""
508
+
509
+ #: ../includes/widgets.php:68
510
+ msgid "Ordered list"
511
+ msgstr ""
512
+
513
+ #: ../includes/widgets.php:114
514
  msgid "Title"
515
  msgstr ""
516
 
517
+ #: ../includes/widgets.php:118
518
  msgid "Post Types"
519
  msgstr ""
520
 
521
+ #: ../includes/widgets.php:130
522
  msgid "Number of posts to show"
523
  msgstr ""
524
 
525
+ #: ../includes/widgets.php:134
526
  msgid "No posts message"
527
  msgstr ""
528
 
529
+ #: ../includes/widgets.php:138
530
  msgid "Order"
531
  msgstr ""
532
 
533
+ #: ../includes/widgets.php:162
534
  msgid "Display post views?"
535
  msgstr ""
536
 
537
+ #: ../includes/widgets.php:164
538
  msgid "Display post excerpt?"
539
  msgstr ""
540
 
541
+ #: ../includes/widgets.php:166
542
+ msgid "Display post author?"
543
+ msgstr ""
544
+
545
+ #: ../includes/widgets.php:168
546
  msgid "Display post thumbnail?"
547
  msgstr ""
548
 
549
+ #: ../includes/widgets.php:171
550
  msgid "Thumbnail size"
551
  msgstr ""
552
 
553
+ #: ../post-views-counter.php:387
554
  msgid "Are you sure you want to reset these settings to defaults?"
555
  msgstr ""
556
 
557
+ #: ../post-views-counter.php:388
558
  msgid "Are you sure you want to delete all existing data?"
559
  msgstr ""
560
 
561
+ #: ../post-views-counter.php:437
562
  msgid "Support"
563
  msgstr ""
564
 
565
+ #: ../post-views-counter.php:461
566
  msgid "Settings"
567
  msgstr ""
post-views-counter.php CHANGED
@@ -2,8 +2,8 @@
2
  /*
3
  Plugin Name: Post Views Counter
4
  Description: Post Views Counter allows you to display how many times a post, page or custom post type had been viewed in a simple, fast and reliable way.
5
- Version: 1.3
6
- Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/post-views-counter/
9
  License: MIT License
@@ -31,7 +31,7 @@ if ( ! class_exists( 'Post_Views_Counter' ) ) :
31
  * Post Views Counter final class.
32
  *
33
  * @class Post_Views_Counter
34
- * @version 1.3
35
  */
36
  final class Post_Views_Counter {
37
 
@@ -81,7 +81,7 @@ if ( ! class_exists( 'Post_Views_Counter' ) ) :
81
  'link_to_post' => true,
82
  'icon_class' => 'dashicons-chart-bar'
83
  ),
84
- 'version' => '1.3'
85
  );
86
 
87
  /**
2
  /*
3
  Plugin Name: Post Views Counter
4
  Description: Post Views Counter allows you to display how many times a post, page or custom post type had been viewed in a simple, fast and reliable way.
5
+ Version: 1.3.1
6
+ Author: Digital Factory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/post-views-counter/
9
  License: MIT License
31
  * Post Views Counter final class.
32
  *
33
  * @class Post_Views_Counter
34
+ * @version 1.3.1
35
  */
36
  final class Post_Views_Counter {
37
 
81
  'link_to_post' => true,
82
  'icon_class' => 'dashicons-chart-bar'
83
  ),
84
+ 'version' => '1.3.1'
85
  );
86
 
87
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: counter, hits, posts, postviews, post views, views, count, statistics, sta
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.2.2
8
- Stable tag: 1.3
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -62,6 +62,10 @@ No questions yet.
62
 
63
  == Changelog ==
64
 
 
 
 
 
65
  = 1.3 =
66
  * New: Gutenberg compatibility
67
  * New: Additional options in widgets: post author and display style
@@ -192,5 +196,6 @@ Initial release
192
 
193
  == Upgrade Notice ==
194
 
195
- = 1.3.0 =
196
- * New: Gutenberg compatibility
 
5
  Requires at least: 4.0
6
  Requires PHP: 5.2.4
7
  Tested up to: 5.2.2
8
+ Stable tag: 1.3.1
9
  License: MIT License
10
  License URI: http://opensource.org/licenses/MIT
11
 
62
 
63
  == Changelog ==
64
 
65
+ = 1.3.1 =
66
+ * Fix: Gutenberg CSS file missing
67
+ * Tweak: POT translation file update
68
+
69
  = 1.3 =
70
  * New: Gutenberg compatibility
71
  * New: Additional options in widgets: post author and display style
196
 
197
  == Upgrade Notice ==
198
 
199
+ = 1.3.1 =
200
+ * Fix: Gutenberg CSS file missing
201
+ * Tweak: POT translation file update