Changeset 2269438
- Timestamp:
- 03/27/2020 08:18:15 PM (6 years ago)
- Location:
- wp-post-rating/trunk
- Files:
-
- 3 edited
-
.gitignore (modified) (1 diff)
-
classes/admin/RatingsList.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-post-rating/trunk/.gitignore
r2268496 r2269438 3 3 .idea 4 4 .git 5 .editorconfig 6 /vendor/ -
wp-post-rating/trunk/classes/admin/RatingsList.php
r2261981 r2269438 172 172 $orderby = (isset($_REQUEST['orderby']) && in_array($_REQUEST['orderby'], array_keys($this->get_sortable_columns()))) ? $_REQUEST['orderby'] : 'id'; 173 173 $order = (isset($_REQUEST['order']) && in_array($_REQUEST['order'], ['asc', 'desc'])) ? $_REQUEST['order'] : 'asc'; 174 174 $offset = $per_page * $paged; 175 175 // [REQUIRED] define $items array 176 176 // notice that last argument is ARRAY_A, so we will retrieve array … … 186 186 ORDER BY {$orderby} {$order} 187 187 LIMIT {$per_page} 188 OFFSET {$ paged}188 OFFSET {$offset} 189 189 SQL 190 190 , ARRAY_A -
wp-post-rating/trunk/readme.txt
r2268353 r2269438 27 27 *You may customize color of stars and second color automatically generated* 28 28 29 ###Functional: 30 * Shortcodes for show rating `[wp_rating]` 31 * Widget for show latest (any sort) votes in sidebar (other place) 32 29 33 == Installation == 30 34 … … 34 38 35 39 == Changelog == 36 40 = 1.0.4.1 = 41 * Fix bug with pagination all votes in admin area 37 42 = 1.0.4 = 38 43 * Added color chooser support
Note: See TracChangeset
for help on using the changeset viewer.