Changeset 33734 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 08/25/2015 08:27:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r33114 r33734 498 498 499 499 if ( ! empty( $api->ratings ) && array_sum( (array) $api->ratings ) > 0 ) { 500 foreach ( $api->ratings as $key => $ratecount ) {500 foreach ( $api->ratings as $key => $ratecount ) { 501 501 // Avoid div-by-zero. 502 502 $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
Note: See TracChangeset
for help on using the changeset viewer.