Changeset 539822
- Timestamp:
- 05/04/2012 10:08:35 AM (14 years ago)
- Location:
- post-ratings
- Files:
-
- 16 added
- 3 edited
-
tags/2.1 (added)
-
tags/2.1/lang (added)
-
tags/2.1/lang/post-ratings.pot (added)
-
tags/2.1/post-ratings.css (added)
-
tags/2.1/post-ratings.js (added)
-
tags/2.1/post-ratings.php (added)
-
tags/2.1/readme.txt (added)
-
tags/2.1/screenshot-1.png (added)
-
tags/2.1/screenshot-2.png (added)
-
tags/2.1/screenshot-3.png (added)
-
tags/2.1/screenshot-4.png (added)
-
tags/2.1/screenshot-5.png (added)
-
tags/2.1/star.png (added)
-
tags/2.1/star.psd (added)
-
tags/2.1/templates (added)
-
tags/2.1/widget.php (added)
-
trunk/post-ratings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/widget.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-ratings/trunk/post-ratings.php
r539746 r539822 2 2 /* 3 3 Plugin Name: Post Ratings 4 Version: 2. 04 Version: 2.1 5 5 Plugin URI: http://digitalnature.eu/forum/plugins/post-ratings/ 6 6 Description: Simple, developer-friendly, straightforward post rating plugin. Relies on post meta to store avg. rating / vote count. … … 36 36 37 37 const 38 VERSION = '2. 0', // plugin version38 VERSION = '2.1', // plugin version 39 39 ID = 'post_ratings', // internally used for text domain, theme option group name etc. 40 40 MIN_VOTES = 1, // minimum vote count (MV) -
post-ratings/trunk/readme.txt
r539746 r539822 75 75 == Changelog == 76 76 77 = 2.1 = 78 * Fixed issue on widgets page from 2.0 79 77 80 = 2.0 = 78 81 * Fixed buggy rating records on multisite -
post-ratings/trunk/widget.php
r491912 r539822 103 103 104 104 $output = array(); 105 $max_rating = PostRatings()-> options('max_rating');105 $max_rating = PostRatings()->getOptions('max_rating'); 106 106 107 107 foreach($posts as $index => $post){ … … 237 237 public function form($instance){ 238 238 $instance = wp_parse_args($instance, $this->getDefaults()); 239 $plugin_options = PostRatings()-> options();239 $plugin_options = PostRatings()->getOptions(); 240 240 ?> 241 241 <div <?php $this->formClass(); ?>> … … 380 380 381 381 $output = array(); 382 $options = PostRatings()-> options();382 $options = PostRatings()->getOptions(); 383 383 extract($options); 384 384 … … 481 481 public function form($instance){ 482 482 483 $plugin_options = PostRatings()-> options();483 $plugin_options = PostRatings()->getOptions(); 484 484 $title = isset($instance['title']) ? esc_attr($instance['title']) : __('Top Rated', PostRatings::ID); 485 485 $sort = isset($instance['sort']) ? esc_attr($instance['sort']) : 'bayesian_rating';
Note: See TracChangeset
for help on using the changeset viewer.