]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/plugins/akismet/views/config.php
WordPress 4.4.1-scripts
[autoinstalls/wordpress.git] / wp-content / plugins / akismet / views / config.php
index 232d10789e6c61d6f635d8029901f0ac5c597856..d84e21a8d9dabfc9f0946827abdee533f5dab93f 100644 (file)
                                        <li>
                                                <h3><?php esc_html_e( 'Past six months' , 'akismet');?></h3>
                                                <span><?php echo number_format( $stat_totals['6-months']->spam );?></span>
-                                               <?php esc_html_e( 'Spam blocked' , 'akismet');?>
+                                               <?php echo esc_html( _n( 'Spam blocked', 'Spam blocked', $stat_totals['6-months']->spam, 'akismet' ) ); ?>
                                        </li>
                                        <li>
                                                <h3><?php esc_html_e( 'All time' , 'akismet');?></h3>
                                                <span><?php echo number_format( $stat_totals['all']->spam );?></span>
-                                               <?php esc_html_e( 'Spam blocked' , 'akismet');?>
+                                               <?php echo esc_html( _n( 'Spam blocked', 'Spam blocked', $stat_totals['all']->spam, 'akismet' ) ); ?>
                                        </li>
                                        <li>
                                                <h3><?php esc_html_e( 'Accuracy' , 'akismet');?></h3>
                                                <span><?php echo $stat_totals['all']->accuracy; ?>%</span>
-                                               <?php printf(
-                                                       esc_html(
-                                                               _n( '%s missed spam, %s false positive', '%s missed spam, %s false positives', $stat_totals['all']->false_positives , 'akismet')
-                                                       ),
-                                                       number_format( $stat_totals['all']->missed_spam ),
-                                                       number_format( $stat_totals['all']->false_positives )
-                                               ); ?>
+                                               <?php printf( _n( '%s missed spam', '%s missed spam', $stat_totals['all']->missed_spam, 'akismet' ), number_format( $stat_totals['all']->missed_spam ) ); ?>
+                                               |
+                                               <?php printf( _n( '%s false positive', '%s false positives', $stat_totals['all']->false_positives, 'akismet' ), number_format( $stat_totals['all']->false_positives ) ); ?>
                                        </li>
                                </ul>
                                <div class="clearfix"></div>
@@ -67,7 +63,7 @@
                                                                                                <th class="akismet-api-key" width="10%" align="left" scope="row"><?php esc_html_e('API Key', 'akismet');?></th>
                                                                                                <td width="5%"/>
                                                                                                <td align="left">
-                                                                                                       <span class="api-key"><input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $akismet_user->status;?>"></span>
+                                                                                                       <span class="api-key"><input id="key" name="key" type="text" size="15" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $akismet_user->status;?>"></span>
                                                                                                </td>
                                                                                        </tr>
                                                                                        <?php endif; ?>