Version Description
Download this release
Release Info
Developer | bhittani |
Plugin | kk Star Ratings |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- index.php +2 -2
- languages/kk-star-ratings.pot +1 -1
- public/css/kk-star-ratings.css +12 -10
- public/css/kk-star-ratings.css.php +3 -3
- readme.txt +1 -1
- views/star.php +18 -2
index.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Author URI: http://bhittani.com
|
9 |
* Text Domain: kk-star-ratings
|
10 |
* Domain Path: /languages
|
11 |
-
* Version: 3.0.
|
12 |
* License: GPLv2 or later
|
13 |
*
|
14 |
* @package Bhittani\StarRating
|
@@ -21,7 +21,7 @@ if (! defined('ABSPATH')) {
|
|
21 |
|
22 |
define('KKSR_FILE', __FILE__);
|
23 |
define('KKSR_PLUGIN', plugin_basename(KKSR_FILE));
|
24 |
-
define('KKSR_VERSION', '3.0.
|
25 |
define('KKSR_PREFIX', 'kksr_');
|
26 |
define('KKSR_SLUG', 'kk-star-ratings');
|
27 |
define('KKSR_LABEL', 'kk Star Ratings');
|
8 |
* Author URI: http://bhittani.com
|
9 |
* Text Domain: kk-star-ratings
|
10 |
* Domain Path: /languages
|
11 |
+
* Version: 3.0.5
|
12 |
* License: GPLv2 or later
|
13 |
*
|
14 |
* @package Bhittani\StarRating
|
21 |
|
22 |
define('KKSR_FILE', __FILE__);
|
23 |
define('KKSR_PLUGIN', plugin_basename(KKSR_FILE));
|
24 |
+
define('KKSR_VERSION', '3.0.5');
|
25 |
define('KKSR_PREFIX', 'kksr_');
|
26 |
define('KKSR_SLUG', 'kk-star-ratings');
|
27 |
define('KKSR_LABEL', 'kk Star Ratings');
|
languages/kk-star-ratings.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/kk-star-ratings\n"
|
7 |
-
"POT-Creation-Date: 2019-07-18
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: \n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/kk-star-ratings\n"
|
7 |
+
"POT-Creation-Date: 2019-07-18 12:05:06+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
public/css/kk-star-ratings.css
CHANGED
@@ -75,7 +75,8 @@
|
|
75 |
/* Legend */
|
76 |
|
77 |
.kk-star-ratings .kksr-legend {
|
78 |
-
color: #
|
|
|
79 |
margin-right: 8px;
|
80 |
font-family: monospace;
|
81 |
display: -webkit-box;
|
@@ -89,15 +90,15 @@
|
|
89 |
}
|
90 |
|
91 |
.kk-star-ratings .kksr-legend .kksr-legend-score {
|
92 |
-
padding: 2px 12px;
|
93 |
-
border-radius: 10rem;
|
94 |
-
color: #fff;
|
95 |
font-weight: bold;
|
96 |
-
|
97 |
}
|
98 |
|
99 |
.kk-star-ratings .kksr-legend .kksr-legend-meta {
|
100 |
-
|
|
|
|
|
|
|
101 |
}
|
102 |
|
103 |
/* Size */
|
@@ -122,11 +123,11 @@
|
|
122 |
stroke: #333;
|
123 |
}
|
124 |
.kk-star-ratings .kksr-legend {
|
125 |
-
color: #333;
|
126 |
-
}
|
127 |
-
.kk-star-ratings .kksr-legend .kksr-legend-score {
|
128 |
background-color: #333;
|
129 |
}
|
|
|
|
|
|
|
130 |
|
131 |
/* RTL */
|
132 |
|
@@ -171,5 +172,6 @@
|
|
171 |
}
|
172 |
.kk-star-ratings.kksr-rtl .kksr-legend .kksr-legend-meta {
|
173 |
margin-left: 0;
|
174 |
-
margin-right:
|
|
|
175 |
} */
|
75 |
/* Legend */
|
76 |
|
77 |
.kk-star-ratings .kksr-legend {
|
78 |
+
color: #fff;
|
79 |
+
border-radius: 10rem;
|
80 |
margin-right: 8px;
|
81 |
font-family: monospace;
|
82 |
display: -webkit-box;
|
90 |
}
|
91 |
|
92 |
.kk-star-ratings .kksr-legend .kksr-legend-score {
|
|
|
|
|
|
|
93 |
font-weight: bold;
|
94 |
+
padding: 0 8px;
|
95 |
}
|
96 |
|
97 |
.kk-star-ratings .kksr-legend .kksr-legend-meta {
|
98 |
+
background-color: #fff;
|
99 |
+
border-radius: 0 10rem 10rem 0;
|
100 |
+
margin-right: 2px;
|
101 |
+
padding: 0 6px;
|
102 |
}
|
103 |
|
104 |
/* Size */
|
123 |
stroke: #333;
|
124 |
}
|
125 |
.kk-star-ratings .kksr-legend {
|
|
|
|
|
|
|
126 |
background-color: #333;
|
127 |
}
|
128 |
+
.kk-star-ratings .kksr-legend .kksr-legend-meta {
|
129 |
+
color: #333;
|
130 |
+
}
|
131 |
|
132 |
/* RTL */
|
133 |
|
172 |
}
|
173 |
.kk-star-ratings.kksr-rtl .kksr-legend .kksr-legend-meta {
|
174 |
margin-left: 0;
|
175 |
+
margin-right: 2px;
|
176 |
+
border-radius: 10rem 0 0 10rem;
|
177 |
} */
|
public/css/kk-star-ratings.css.php
CHANGED
@@ -23,9 +23,9 @@
|
|
23 |
}
|
24 |
|
25 |
.kk-star-ratings .kksr-legend {
|
26 |
-
color: <?php echo $colors['active']['stroke']; ?>;
|
27 |
}
|
28 |
|
29 |
-
.kk-star-ratings .kksr-legend .kksr-legend-
|
30 |
-
|
31 |
}
|
23 |
}
|
24 |
|
25 |
.kk-star-ratings .kksr-legend {
|
26 |
+
background-color: <?php echo $colors['active']['stroke']; ?>;
|
27 |
}
|
28 |
|
29 |
+
.kk-star-ratings .kksr-legend .kksr-legend-meta {
|
30 |
+
color: <?php echo $colors['active']['stroke']; ?>;
|
31 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: star ratings, votings, rate posts, ajax ratings, infinite stars, unlimited
|
|
5 |
Requires at least: 4.5
|
6 |
Requires PHP: 5.5.9
|
7 |
Tested up to: 5.2.2
|
8 |
-
Stable tag: 3.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
5 |
Requires at least: 4.5
|
6 |
Requires PHP: 5.5.9
|
7 |
Tested up to: 5.2.2
|
8 |
+
Stable tag: 3.0.5
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
views/star.php
CHANGED
@@ -1,3 +1,19 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
3 |
</svg>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
|
4 |
+
<path d="M25 1l6 17h18L35 29l5 17-15-10-15 10 5-17L1 18h18z"/>
|
5 |
</svg>
|
6 |
+
*/
|
7 |
+
?>
|
8 |
+
|
9 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
10 |
+
<path d="M12 .587l3.668 7.568L24 9.306l-6.064 5.828 1.48 8.279L12 19.446l-7.417 3.967 1.481-8.279L0 9.306l8.332-1.151z"/>
|
11 |
+
</svg>
|
12 |
+
|
13 |
+
<?php
|
14 |
+
/*
|
15 |
+
<svg xmlns="http://www.w3.org/2000/svg" stroke-width="2" viewBox="0 0 100 100">
|
16 |
+
<path d="M26.439 95.601c-5.608 2.949-9.286.276-8.216-5.968l4.5-26.237-19.061-18.58C-.875 40.393.53 36.07 6.799 35.159l26.343-3.829L44.923 7.46c2.804-5.682 7.35-5.682 10.154 0l11.78 23.87L93.2 35.159c6.27.911 7.674 5.234 3.138 9.657L77.277 63.397l4.501 26.237c1.07 6.244-2.608 8.916-8.216 5.968L50 83.215 26.439 95.601z"/>
|
17 |
+
</svg>
|
18 |
+
*/
|
19 |
+
?>
|