Skip to content

Commit

Permalink
Fix #10, use WP.org for lang
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterchan committed Dec 7, 2015
1 parent d079b1a commit ec9f31f
Show file tree
Hide file tree
Showing 49 changed files with 11 additions and 9,513 deletions.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@ Donate link: http://lesterchan.net/site/donation/
Tags: useronline, usersonline, wp-useronline, online, users, user, ajax, widget
Requires at least: 3.1
Tested up to: 4.4
Stable tag: 2.86
Stable tag: 2.87
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -94,6 +94,12 @@ Make sure your host is running PHP 5. The only foolproof way to do this is to ad
`var_dump(PHP_VERSION);`

## Changelog
### 2.87
* NEW: Remove po/mo files from the plugin
* NEW: Use translate.wordpress.org to translate the plugin
* FIXED: Update SCB Framework
* FIXED: Incompatible scbAdminPage::validate()

### 2.86
* FIXED: Notices in Widget Constructor for WordPress 4.3

Expand Down
2 changes: 1 addition & 1 deletion admin.php
Expand Up @@ -60,7 +60,7 @@ function setup() {
$this->option_name = 'useronline';
}

function validate( $options, $old_data = array() ) {
function validate( $options, $old_data ) {
$options['timeout'] = absint( $options['timeout'] );
$options['url'] = trim( $options['url'] );
$options['names'] = intval($options['names']);
Expand Down
Binary file removed lang/wp-useronline-ar.mo
Binary file not shown.

0 comments on commit ec9f31f

Please sign in to comment.