Plugin Directory

Changeset 918397


Ignore:
Timestamp:
05/21/2014 03:55:24 AM (12 years ago)
Author:
Beej
Message:

Added number format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • block-default-login-attempts/trunk/block-default-login-attempts.php

    r916385 r918397  
    33Plugin Name: Block Default Login Attempts
    44Description: Completely block default admin user login attempts in WordPress.
    5 Version: 1.3.0
     5Version: 1.3.1
    66Author: Ben Yates
    77Author URI: http://bayates.host-ed.me/wordpress/
     
    121121        $attempts = get_option('block_default_login_attempts', 0);
    122122        if ($attempts) {
    123             $links_new = array('<b>' . $attempts . '</b> attempts blocked');
     123            $links_new = array('<b>' . number_format($attempts) . '</b> attempts blocked');
    124124        } else {
    125125            $links_new = array('No attempts encountered');
Note: See TracChangeset for help on using the changeset viewer.