Skip to content

Commit

Permalink
v 0.1.2
Browse files Browse the repository at this point in the history
- Remove debug artifact.
  • Loading branch information
Darklg committed Dec 4, 2024
1 parent d9184d5 commit f486dff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wpu_comments_rating.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://github.com/WordPressUtilities/wpu_comments_rating
Update URI: https://github.com/WordPressUtilities/wpu_comments_rating
Description: Allow users to rate in comments.
Version: 0.1.1
Version: 0.1.2
Author: Darklg
Author URI: https://darklg.me/
Text Domain: wpu_comments_rating
Expand All @@ -22,7 +22,7 @@
}

class WPUCommentsRating {
private $plugin_version = '0.1.1';
private $plugin_version = '0.1.2';
private $plugin_settings = array(
'id' => 'wpu_comments_rating',
'name' => 'WPU Comments Rating'
Expand Down Expand Up @@ -189,7 +189,7 @@ public function get_comment_parent($comment_id) {
public function comment_text($comment_text, $comment, $args) {
$rating = get_comment_meta($comment->comment_ID, 'wpu_comment_rating', true);
$rating_html = '';
$comment_text .= 'azaz';

if ($rating) {
$rating_html = '<div class="comment-rating">' . $this->comments_get_rating_html($rating) . '</div>';
}
Expand Down

0 comments on commit f486dff

Please sign in to comment.