Changeset 1728064
- Timestamp:
- 09/11/2017 01:15:31 PM (7 years ago)
- Location:
- comment-popularity/trunk
- Files:
-
- 24 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
comment-popularity/trunk
- Property svn:ignore
-
old new 1 deploy.sh readme.md .git .gitignore 1 README.md 2 Thumbs.db 3 .github/* 4 .git 5 .gitattributes 6 .gitignore
-
- Property svn:ignore
-
comment-popularity/trunk/inc/class-visitor.php
r1396469 r1728064 283 283 public function unlog_vote( $comment_id ) { 284 284 285 $logged_votes = $this->retrieve_logged_votes(); 285 $comments_voted_on = $this->retrieve_logged_votes(); 286 $logged_votes = $this->retrieve_logged_votes(); 286 287 287 288 unset( $logged_votes[ 'comment_id_' . $comment_id ] ); 288 289 289 update_user_option( $this->get_id(), 'hmn_comments_voted_on', $comments_voted_on ); 290 290 if ( ! empty( $comments_voted_on ) ) { 291 update_user_option( $this->get_id(), 'hmn_comments_voted_on', $comments_voted_on ); 292 } 291 293 } 292 294
Note: See TracChangeset
for help on using the changeset viewer.