Changeset 14536
- Timestamp:
- 09/24/2025 08:12:35 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/rejection.php
r14103 r14536 1378 1378 1379 1379 foreach ( $rejection_reasons as $reason => $data ) { 1380 $data['count'] = $rejection_reasons_counts[ $reason ]; 1380 $data['count'] = $rejection_reasons_counts[ $reason ] ?? 0; 1381 $rejection_pct = $total_rejections 1382 ? round( ( $data['count'] / $total_rejections ) * 100, 2 ) 1383 : 0; 1381 1384 1382 1385 echo '<tr>'; 1383 1386 echo '<td title="' . esc_attr( $data['label'] ) . '">' . esc_html( $reason ) . '</td>'; 1384 1387 echo '<td>' . number_format_i18n( $data['count'] ) . '</td>'; 1385 echo '<td>' . round( ( $data['count'] / $total_rejections ) * 100, 2 ). '%</td>';1388 echo '<td>' . $rejection_pct . '%</td>'; 1386 1389 echo "</tr>\n"; 1387 1390 }
Note: See TracChangeset
for help on using the changeset viewer.