Changeset 5354
- Timestamp:
- 04/17/2017 08:21:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/tools/class-stats-report.php
r5334 r5354 102 102 } 103 103 104 // Temporary until the above is updated to work with the new directory: 105 foreach ( array( 'plugin_approve', 'plugin_delist', 'plugin_reject' ) as $unused_stat ) { 106 if ( ! $stats[ $unused_stat ] ) $stats[ $unused_stat ] = __( 'N/A', 'wporg-plugins' ); 107 } 108 104 109 // -------------- 105 110 // Plugin Queue … … 238 243 <ul style="font-family:Courier New;"> 239 244 <li><?php printf( __( 'Plugins requested : %d', 'wporg-plugins' ), $stats['plugin_new'] ); ?></li> 240 <li><?php printf( __( 'Plugins rejected : % d', 'wporg-plugins' ), $stats['plugin_reject'] ); ?></li>241 <li><?php printf( __( 'Plugins closed : % d', 'wporg-plugins' ), $stats['plugin_delist'] ); ?></li>242 <li><?php printf( __( 'Plugins approved : % d', 'wporg-plugins' ), $stats['plugin_approve'] ); ?></li>245 <li><?php printf( __( 'Plugins rejected : %s', 'wporg-plugins' ), $stats['plugin_reject'] ); ?></li> 246 <li><?php printf( __( 'Plugins closed : %s', 'wporg-plugins' ), $stats['plugin_delist'] ); ?></li> 247 <li><?php printf( __( 'Plugins approved : %s', 'wporg-plugins' ), $stats['plugin_approve'] ); ?></li> 243 248 </ul> 244 249
Note: See TracChangeset
for help on using the changeset viewer.