Changeset 10816
- Timestamp:
- 03/12/2021 02:44:17 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin.php
r10332 r10816 125 125 } 126 126 127 $result['rating'] = $result['rating'] * 20; // Stored as 0.0 ~ 5.0, API outputs as 0..100127 $result['rating'] = ; // Stored as 0.0 ~ 5.0, API outputs as 0..100 128 128 $result['ratings'] = array_map( 'intval', $result['ratings'] ); 129 129 krsort( $result['ratings'] );
Note: See TracChangeset
for help on using the changeset viewer.